mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Add missing braces. Fixes #2679
This commit is contained in:
@@ -496,9 +496,10 @@ void gettoppts(double level, const char *portlist, struct scan_lists * ports, co
|
||||
if (sctpmax && strcmp(current->s_proto, "sctp") == 0
|
||||
&& (!ptsdata_initialized ||
|
||||
is_port_member(ptsdata.sctp_ports, ptsdata.sctp_count, current))
|
||||
)
|
||||
) {
|
||||
ports->sctp_ports[ports->sctp_count++] = current->s_port;
|
||||
sctpmax--;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user