Avoid semicolon after do{}while(0) macro definition

This commit is contained in:
dmiller 2026-07-15 23:35:13 +00:00
parent 10cada944b
commit 4233de2df1
4 changed files with 4 additions and 4 deletions

View file

@ -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);