]> The Tcpdump Group git mirrors - libpcap/commit
In activate routines, don't set status unless a warning or error occurs.
authorGuy Harris <[email protected]>
Wed, 23 Apr 2014 05:02:58 +0000 (22:02 -0700)
committerGuy Harris <[email protected]>
Wed, 23 Apr 2014 05:02:58 +0000 (22:02 -0700)
commit53e0bc9f651a4bbd83b5b2ead444fc8c184b0767
tree91710d57d68d729ad35cef8f360e386d72883d56
parent381a5ccec4b228d91adc3b5a2a1898b98143ce3f
In activate routines, don't set status unless a warning or error occurs.

This makes the code a bit clearer, as you don't have to worry about the
status variable accidentally being set to an inappropriate value,
overriding a warning that's been put there.
pcap-bpf.c
pcap-dlpi.c
pcap-libdlpi.c