]> The Tcpdump Group git mirrors - libpcap/commit
Have a pcap_fmt_errmsg_for_win32_err() routine and use it.
authorGuy Harris <[email protected]>
Sun, 30 Jun 2019 02:30:05 +0000 (19:30 -0700)
committerGuy Harris <[email protected]>
Sun, 30 Jun 2019 02:30:05 +0000 (19:30 -0700)
commit81e850934fc00eb60c12b240fda57b7c05223cff
tree600f1099d3c3b58415cd455c5ab51569b35d23af
parent94dfe9f2fe7abcd306ec67b7c8a44cbc7e6b1f75
Have a pcap_fmt_errmsg_for_win32_err() routine and use it.

It's like pcap_fmt_errmsg_for_errno(), but for Windows error codes.

Use it, rather than calling pcap_win32_err_to_str() and then formatting
a message with pcap_strerror().

Clean up some error messages while we're at it.
fmtutils.c
fmtutils.h
pcap-npf.c
pcap-rpcap.c
rpcapd/daemon.c
rpcapd/rpcapd.c
rpcapd/win32-svc.c
sockutils.c