diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-09-24 05:49:53 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-09-24 05:49:53 +0000 |
commit | a9c36a4b69526ee098319d31d5930b8678f4974f (patch) | |
tree | 731abbf198b006163c900ae3da97d6b62a2fd0de /wiretap/netmon.c | |
parent | 702b8f7aed6aed8775d9c28e84d830f6216b8080 (diff) | |
download | wireshark-a9c36a4b69526ee098319d31d5930b8678f4974f.tar.gz wireshark-a9c36a4b69526ee098319d31d5930b8678f4974f.tar.bz2 wireshark-a9c36a4b69526ee098319d31d5930b8678f4974f.zip |
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
Diffstat (limited to 'wiretap/netmon.c')
-rw-r--r-- | wiretap/netmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <gram@verdict.uthscsa.edu> @@ -25,8 +25,8 @@ #endif #include <errno.h> #include <time.h> -#include "file.h" #include "wtap.h" +#include "file.h" #include "buffer.h" #include "netmon.h" |