mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31: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
|
if (sctpmax && strcmp(current->s_proto, "sctp") == 0
|
||||||
&& (!ptsdata_initialized ||
|
&& (!ptsdata_initialized ||
|
||||||
is_port_member(ptsdata.sctp_ports, ptsdata.sctp_count, current))
|
is_port_member(ptsdata.sctp_ports, ptsdata.sctp_count, current))
|
||||||
)
|
) {
|
||||||
ports->sctp_ports[ports->sctp_count++] = current->s_port;
|
ports->sctp_ports[ports->sctp_count++] = current->s_port;
|
||||||
sctpmax--;
|
sctpmax--;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user