aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/wtap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-09-24 05:49:53 +0000
committerGuy Harris <guy@alum.mit.edu>1999-09-24 05:49:53 +0000
commita9c36a4b69526ee098319d31d5930b8678f4974f (patch)
tree731abbf198b006163c900ae3da97d6b62a2fd0de /wiretap/wtap.c
parent702b8f7aed6aed8775d9c28e84d830f6216b8080 (diff)
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/wtap.c')
-rw-r--r--wiretap/wtap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/wtap.c b/wiretap/wtap.c
index 4e68f7bd59..a8ad39fcbd 100644
--- a/wiretap/wtap.c
+++ b/wiretap/wtap.c
@@ -1,6 +1,6 @@
/* wtap.c
*
- * $Id: wtap.c,v 1.21 1999/09/23 04:39:00 ashokn Exp $
+ * $Id: wtap.c,v 1.22 1999/09/24 05:49:53 guy Exp $
*
* Wiretap Library
* Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu>
@@ -26,8 +26,8 @@
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
-#include "file.h"
#include "wtap.h"
+#include "file.h"
#include "buffer.h"
#include "ascend.h"