From: Wayne Davison Date: Mon, 7 Jul 2003 19:37:58 +0000 (+0000) Subject: Changed "./0123456789" to just ".0123456789". X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/b49d381d05888f84adbd1aeccb1ff31c3b33134f Changed "./0123456789" to just ".0123456789". --- diff --git a/access.c b/access.c index bd07567a..25a0680a 100644 --- 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