Skip to content

Commit

Permalink
Changed "./0123456789" to just ".0123456789".
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Jul 7, 2003
1 parent 7da9a16 commit b49d381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion access.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b49d381

Please sign in to comment.