X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/180443af42778dd0209fb76e08e4cbb33fec5e09..9ac756c6ea3768ff9bd9798a9d73ce9882c3b7a0:/clientserver.c 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; }