X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/c4fea82ff912c596e0e1e49218a67917be8df6df..32f761755e2cfee243a1513c9ea9871586463fa6:/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;