From 2a40b503c06afff55ea6b3e6d3f760e8ef58c7f3 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 16 Feb 2007 01:20:29 +0000 Subject: [PATCH] Make sure that the am_server variable is non-zero after parsing the options we received over the socket. (Thanks, Matt!) --- clientserver.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clientserver.c b/clientserver.c index 786c4bed..fdd19cc1 100644 --- a/clientserver.c +++ b/clientserver.c @@ -626,6 +626,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host) verbose = 0; /* future verbosity is controlled by client options */ ret = parse_arguments(&argc, (const char ***) &argv, 0); quiet = 0; /* Don't let someone try to be tricky. */ + am_server = 1; /* ditto */ if (lp_ignore_errors(module_id)) ignore_errors = 1; -- 2.34.1