mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-21 05:14:15 -04:00
Make sure that the am_server variable is non-zero after parsing the
options we received over the socket. (Thanks, Matt!)
This commit is contained in:
1 parent
ba2133d6ad
commit
2a40b503c0
1 file changed
+1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user