From 45c5b903eb96bc57ed1b4d59586defb1e4d0dc53 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sat, 9 Apr 2005 18:11:25 +0000 Subject: [PATCH] - Call auth_server() with its new "host" arg. - Don't log an auth-failed error -- auth_server() now handles that. --- clientserver.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clientserver.c b/clientserver.c index 5286927c..7c46c707 100644 --- a/clientserver.c +++ b/clientserver.c @@ -268,11 +268,9 @@ static int rsync_module(int f_in, int f_out, int i) return -1; } - auth_user = auth_server(f_in, f_out, i, addr, "@RSYNCD: AUTHREQD "); + auth_user = auth_server(f_in, f_out, i, host, addr, "@RSYNCD: AUTHREQD "); if (!auth_user) { - rprintf(FLOG, "auth failed on module %s from %s (%s)\n", - name, host, addr); io_printf(f_out, "@ERROR: auth failed on module %s\n", name); return -1; } -- 2.34.1