summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-12-19 10:54:50 -0800
committerGuy Harris <guy@alum.mit.edu>2016-12-19 18:55:59 +0000
commit23d80b00122984535e47e5e2af8cbd4deb9b8a9e (patch)
tree18586c8ad63e838fe6bffc5344f5a66eefff0bc6 /configure.ac
parentd7ce60bb080eb22808ccf304ebc400da866bae0b (diff)
downloadwireshark-23d80b00122984535e47e5e2af8cbd4deb9b8a9e.tar.gz
Don't use PCAP_ERROR if it's not known to be defined.
The introduction of pcap_list_datalinks() predates the introduction of PCAP_ERROR, so the presence of pcap_list_datalinks() doesn't guarantee that PCAP_ERROR is defined. Change the use of PCAP_ERROR when checking the result of pcap_list_datalinks() to just check for -1. Change-Id: Id8229b7aebd02eaf3701983f9343503397af4fb3 Reviewed-on: https://code.wireshark.org/review/19351 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions