From a9c36a4b69526ee098319d31d5930b8678f4974f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 24 Sep 1999 05:49:53 +0000 Subject: Fix it so that it builds with "--disable-zlib". The "fh" member of a "wtap" structure points to something constructed from the "fd" member of that structure, so that closing the stream referred to by "fh" also closes the underlying file descriptor; get rid of an unnecessary close of "wth->fd". svn path=/trunk/; revision=720 --- wiretap/netmon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiretap/netmon.c') diff --git a/wiretap/netmon.c b/wiretap/netmon.c index 48b0a94958..7aeb64a69b 100644 --- a/wiretap/netmon.c +++ b/wiretap/netmon.c @@ -1,6 +1,6 @@ /* netmon.c * - * $Id: netmon.c,v 1.14 1999/09/22 01:26:47 ashokn Exp $ + * $Id: netmon.c,v 1.15 1999/09/24 05:49:51 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez @@ -25,8 +25,8 @@ #endif #include #include -#include "file.h" #include "wtap.h" +#include "file.h" #include "buffer.h" #include "netmon.h" -- cgit v1.2.1