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/lanalyzer.c | |
parent | 702b8f7aed6aed8775d9c28e84d830f6216b8080 (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/lanalyzer.c')
-rw-r--r-- | wiretap/lanalyzer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/lanalyzer.c b/wiretap/lanalyzer.c index 6a086554fc..97c9045f43 100644 --- a/wiretap/lanalyzer.c +++ b/wiretap/lanalyzer.c @@ -1,6 +1,6 @@ /* lanalyzer.c * - * $Id: lanalyzer.c,v 1.15 1999/09/22 01:26:47 ashokn Exp $ + * $Id: lanalyzer.c,v 1.16 1999/09/24 05:49:51 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -26,8 +26,8 @@ #include <stdlib.h> #include <errno.h> #include <time.h> -#include "file.h" #include "wtap.h" +#include "file.h" #include "buffer.h" #include "lanalyzer.h" |