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:
43bab40
)
Since lp_bind_address() can't return NULL, we need to check if it is
author
Wayne Davison
<wayned@samba.org>
Fri, 31 Dec 2004 09:41:04 +0000
(09:41 +0000)
committer
Wayne Davison
<wayned@samba.org>
Fri, 31 Dec 2004 09:41:04 +0000
(09:41 +0000)
an empty string and ignore it when it is.
clientserver.c
patch
|
blob
|
blame
|
history
diff --git
a/clientserver.c
b/clientserver.c
index
ab6a326
..
ec74054
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-607,7
+607,7
@@
int daemon_main(void)
if (rsync_port == 0 && (rsync_port = lp_rsync_port()) == 0)
rsync_port = RSYNC_PORT;
- if (bind_address == NULL)
+ if (bind_address == NULL
&& *lp_bind_address()
)
bind_address = lp_bind_address();
log_init();