X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/43e46b4cf69f97cb5cbe3a9eddec67fb2fe631ec..fca9a9b0f044a9ef93cea27dadc01ecd56d1274c:/access.c diff --git a/access.c b/access.c index 050e8cc4..ff357480 100644 --- a/access.c +++ b/access.c @@ -38,7 +38,7 @@ static int match_address(char *addr, char *tok) if (!addr || !*addr) return 0; - if (!isdigit(tok[0])) return 0; + if (!isdigit(* (unsigned char *) tok)) return 0; p = strchr(tok,'/'); if (p) *p = 0;