Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2133d
)
Make sure that the am_server variable is non-zero after parsing the
author
Wayne Davison
<wayned@samba.org>
Fri, 16 Feb 2007 01:20:29 +0000
(
01:20
+0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 16 Feb 2007 01:20:29 +0000
(
01:20
+0000)
options we received over the socket. (Thanks, Matt!)
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
786c4be
..
fdd19cc
100644
(file)
--- 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;