mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Updated uses of the ctype function to support explict casting of the arguments
to (int)(unsigned char).
This commit is contained in:
parent
990db60861
commit
df71e36084
14 changed files with 73 additions and 72 deletions
|
|
@ -132,7 +132,7 @@ static int nmap_protocols_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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue