git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da9a16
)
Changed "./0123456789" to just ".0123456789".
author
Wayne Davison
<wayned@samba.org>
Mon, 7 Jul 2003 19:37:58 +0000
(19:37 +0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 7 Jul 2003 19:37:58 +0000
(19:37 +0000)
access.c
patch
|
blob
|
history
diff --git
a/access.c
b/access.c
index bd07567add59ae53f48357902ccb3be6d1614d08..25a0680a244ca51c355b6cd336b6da4c0404f391 100644
(file)
--- a/
access.c
+++ b/
access.c
@@
-86,7
+86,7
@@
static int match_address(char *addr, char *tok)
len = strlen(tok);
/* Fail quietly if tok is a hostname (not an address) */
- if (strspn(tok, ".
/
0123456789") != len
+ if (strspn(tok, ".0123456789") != len
#ifdef INET6
&& !strchr(tok, ':')
#endif