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:
89fb502
)
Log the connect message after calling log_init().
author
Wayne Davison
<wayned@samba.org>
Fri, 31 Mar 2006 17:37:21 +0000
(17:37 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 31 Mar 2006 17:37:21 +0000
(17:37 +0000)
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
138695e
..
4c8057e
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-733,8
+733,6
@@
int start_daemon(int f_in, int f_out)
char *host = client_name(f_in);
int i;
- rprintf(FLOG, "connect from %s (%s)\n", host, addr);
-
io_set_sock_fds(f_in, f_out);
if (!lp_load(config_file, 0))
@@
-742,6
+740,8
@@
int start_daemon(int f_in, int f_out)
log_init();
+ rprintf(FLOG, "connect from %s (%s)\n", host, addr);
+
if (!am_server) {
set_socket_options(f_in, "SO_KEEPALIVE");
if (sockopts)