mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
just whitespace fixes
This commit is contained in:
parent
fabe05eae6
commit
7c658dd3fd
1 changed files with 4 additions and 2 deletions
|
|
@ -273,12 +273,14 @@ static int load_payloads_from_file(FILE *fp) {
|
|||
type = next_token(fp, &token);
|
||||
if (type == TOKEN_EOF)
|
||||
break;
|
||||
if (type != TOKEN_SYMBOL || strcmp(token.text, "udp") != 0) { fprintf(stderr, "Expected \"udp\" at line %lu of %s.\n", line_no, PAYLOAD_FILENAME);
|
||||
if (type != TOKEN_SYMBOL || strcmp(token.text, "udp") != 0) {
|
||||
fprintf(stderr, "Expected \"udp\" at line %lu of %s.\n", line_no, PAYLOAD_FILENAME);
|
||||
return -1;
|
||||
}
|
||||
|
||||
type = next_token(fp, &token);
|
||||
if (type != TOKEN_SYMBOL) { fprintf(stderr, "Expected a port list at line %lu of %s.\n", line_no, PAYLOAD_FILENAME);
|
||||
if (type != TOKEN_SYMBOL) {
|
||||
fprintf(stderr, "Expected a port list at line %lu of %s.\n", line_no, PAYLOAD_FILENAME);
|
||||
return -1;
|
||||
}
|
||||
ports = parse_portlist(token.text, &count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue