diff options
author | Wayne Davison <wayned@samba.org> | 2006-06-07 23:05:24 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2006-06-07 23:05:24 +0000 |
commit | 6dc9b74bc661cf421dd2e9db0af9eb73824cced8 (patch) | |
tree | ff68960b0603be070262510001c00436fab1ac5d /clientserver.c | |
parent | 04c841190f0ce5e89724d9221904c60e75988727 (diff) | |
download | android_external_rsync-6dc9b74bc661cf421dd2e9db0af9eb73824cced8.tar.gz android_external_rsync-6dc9b74bc661cf421dd2e9db0af9eb73824cced8.tar.bz2 android_external_rsync-6dc9b74bc661cf421dd2e9db0af9eb73824cced8.zip |
Call log_init() with its new "restart" (0 or 1) arg.
Diffstat (limited to 'clientserver.c')
-rw-r--r-- | clientserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clientserver.c b/clientserver.c index 478e6cb9..162ed8e6 100644 --- a/clientserver.c +++ b/clientserver.c @@ -389,7 +389,7 @@ static int rsync_module(int f_in, int f_out, int i, char *addr, char *host) parse_rule(&server_filter_list, p, MATCHFLG_WORD_SPLIT, XFLG_ABS_IF_SLASH | XFLG_OLD_PREFIXES); - log_init(); + log_init(1); #ifdef HAVE_PUTENV if (*lp_prexfer_exec(i) || *lp_postxfer_exec(i)) { @@ -836,7 +836,7 @@ int daemon_main(void) if (bind_address == NULL && *lp_bind_address()) bind_address = lp_bind_address(); - log_init(); + log_init(0); rprintf(FLOG, "rsyncd version %s starting, listening on port %d\n", RSYNC_VERSION, rsync_port); |