Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change rsyncd.conf &merge directive to match *.inc.
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
21ef01c
..
8b6b896
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-515,7
+515,7
@@
static int rsync_module(int f_in, int f_out, int i, const char *addr, const char
set_env_str("RSYNC_HOST_NAME", host);
set_env_str("RSYNC_HOST_ADDR", addr);
set_env_str("RSYNC_HOST_NAME", host);
set_env_str("RSYNC_HOST_ADDR", addr);
- if (!allow_access(addr,
host, lp_hosts_allow(i), lp_hosts_deny(i)
)) {
+ if (!allow_access(addr,
&host, i
)) {
rprintf(FLOG, "rsync denied on module %s from %s (%s)\n",
name, host, addr);
if (!lp_list(i))
rprintf(FLOG, "rsync denied on module %s from %s (%s)\n",
name, host, addr);
if (!lp_list(i))