mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Avoid semicolon after do{}while(0) macro definition
This commit is contained in:
parent
10cada944b
commit
4233de2df1
4 changed files with 4 additions and 4 deletions
|
|
@ -3134,7 +3134,7 @@ pcap_t *my_pcap_open_live(const char *device, int snaplen, int promisc, int to_m
|
|||
pcap_close(p_t);\
|
||||
return NULL;\
|
||||
}\
|
||||
} while(0);
|
||||
} while(0)
|
||||
|
||||
MY_PCAP_SET(pcap_set_snaplen, pt, snaplen);
|
||||
MY_PCAP_SET(pcap_set_promisc, pt, promisc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue