diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-09-24 05:49:53 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1999-09-24 05:49:53 +0000 |
commit | 9dc6a18594b824adc3acbe2a1ef906504f559e71 (patch) | |
tree | 731abbf198b006163c900ae3da97d6b62a2fd0de /wiretap/radcom.c | |
parent | c8b4cae681d935a85e860652344476e84f941042 (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".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@720 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/radcom.c')
-rw-r--r-- | wiretap/radcom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/radcom.c b/wiretap/radcom.c index a2696be2e6..6fac1bf283 100644 --- a/wiretap/radcom.c +++ b/wiretap/radcom.c @@ -1,6 +1,6 @@ /* radcom.c * - * $Id: radcom.c,v 1.11 1999/09/23 05:03:32 guy Exp $ + * $Id: radcom.c,v 1.12 1999/09/24 05:49:52 guy Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@verdict.uthscsa.edu> @@ -27,8 +27,8 @@ #include <stdlib.h> #include <errno.h> #include <time.h> -#include "file.h" #include "wtap.h" +#include "file.h" #include "buffer.h" #include "radcom.h" |