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
put a limit (default 1MB) on the read buffer size. This stops it
[rsync/rsync.git]
/
access.c
diff --git
a/access.c
b/access.c
index
f1a8bd7
..
046d5e3
100644
(file)
--- a/
access.c
+++ b/
access.c
@@
-86,6
+86,9
@@
static int access_match(char *list, char *addr, char *host)
if (!list2) out_of_memory("access_match");
+ strlower(list2);
+ if (host) strlower(host);
+
for (tok=strtok(list2," ,\t"); tok; tok=strtok(NULL," ,\t")) {
if (match_hostname(host, tok) || match_address(addr, tok)) {
free(list2);