Get rid of unnecessary check.
authorGuy Harris <guy@alum.mit.edu>
Wed, 26 Sep 2018 19:57:05 +0000 (12:57 -0700)
committerGuy Harris <guy@alum.mit.edu>
Wed, 26 Sep 2018 19:58:27 +0000 (19:58 +0000)
commitad335a52d8af46dda02f9ccd66412a645a06bc00
tree7a3702598ab98444feddf25dd5334dede92a4ddd
parentc7f4badb8caf4ea42a0d2b064433ba902ab1e77d
Get rid of unnecessary check.

Either pcap_process_pseudo_header() returns -1, in which case we fail,
or it returns the exact same value as pcap_get_phdr_size().  If we don't
fail, don't bother to check whether the values are the same.

Change-Id: I18191cc3de2a1c2144ca9b508ed17b2f593fc835
Reviewed-on: https://code.wireshark.org/review/29879
Reviewed-by: Guy Harris <guy@alum.mit.edu>
wiretap/pcapng.c