mirror of
https://github.com/nmap/nmap.git
synced 2026-01-28 17:19:05 +00:00
Updated uses of the ctype function to support explict casting of the arguments
to (int)(unsigned char).
This commit is contained in:
@@ -186,7 +186,7 @@ static int nmap_services_init() {
|
||||
while(fgets(line, sizeof(line), fp)) {
|
||||
lineno++;
|
||||
p = line;
|
||||
while(*p && isspace((int) *p))
|
||||
while(*p && isspace((int) (unsigned char) *p))
|
||||
p++;
|
||||
if (*p == '#')
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user