From: guy Date: Mon, 14 Apr 2008 21:04:51 +0000 (+0000) Subject: Fix a typo (sigh, using both "p" and "handle" for the pcap_t pointer in X-Git-Tag: libpcap-1.1.0~317 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/f35ab115a60de968f27eb2ec95a8b85b58c22007 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 6ab89423..07025b08 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.147 2008-04-14 20:40:58 guy Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.148 2008-04-14 21:04:51 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); } /*