From: guy Date: Mon, 14 Apr 2008 21:05:03 +0000 (+0000) Subject: Fix a typo (sigh, using both "p" and "handle" for the pcap_t pointer in X-Git-Tag: libpcap-1.0.0~86 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/ae77c4a44d9c8b695c6082e82abca7b7ecbd850a Fix a typo (sigh, using both "p" and "handle" for the pcap_t pointer in different modules can lead to confusion). --- diff --git a/pcap-linux.c b/pcap-linux.c index a12e64dd..75f3d16d 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -34,7 +34,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.129.2.18 2008-04-14 20:41:52 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.129.2.19 2008-04-14 21:05:03 guy Exp $ (LBL)"; #endif /* @@ -471,7 +471,7 @@ static void pcap_cleanup_linux( pcap_t *handle ) free(handle->md.device); handle->md.device = NULL; } - pcap_cleanup_live_common(p); + pcap_cleanup_live_common(handle); } /*