From 9020a14ce6524d7687331bf70aa9a1e1ba18f5ab Mon Sep 17 00:00:00 2001 From: laforge Date: Fri, 13 Feb 2004 20:58:43 +0000 Subject: fix ulogd_PCAP compilation (Marrtin Josefsson) --- pcap/ulogd_PCAP.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pcap') diff --git a/pcap/ulogd_PCAP.c b/pcap/ulogd_PCAP.c index 56c50f8..32bd09e 100644 --- a/pcap/ulogd_PCAP.c +++ b/pcap/ulogd_PCAP.c @@ -1,4 +1,4 @@ -/* ulogd_PCAP.c, Version $Revision: 1.6 $ +/* ulogd_PCAP.c, Version $Revision: 1.7 $ * * ulogd output target for writing pcap-style files (like tcpdump) * @@ -20,7 +20,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: ulogd_PCAP.c,v 1.6 2003/09/28 15:19:27 laforge Exp $ + * $Id: ulogd_PCAP.c,v 1.7 2003/10/16 12:56:59 laforge Exp $ * */ @@ -156,7 +156,7 @@ void append_create_outfile(void) { struct stat st_dummy; int exist = 0; - if (stat(pcapf_ce.u.string, &st_dummy) == 0 && st.st_size > 0) { + if (stat(pcapf_ce.u.string, &st_dummy) == 0 && st_dummy.st_size > 0) { exist = 1; } -- cgit v1.2.3