diff options
author | Gerald Combs <gerald@wireshark.org> | 2000-01-05 22:31:46 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2000-01-05 22:31:46 +0000 |
commit | 5b8384f5e11fe3a6f7873f7d06e0f7e7e7ac0a3a (patch) | |
tree | d11def6b881fe2e8582a207d593df0578ed47aef /capture.h | |
parent | b9343202d7bf867a4b9dbe7095c09f71c50994e3 (diff) |
When initializing a capture filter, assign a pointer to an empty string
instead of NULL.
svn path=/trunk/; revision=1422
Diffstat (limited to 'capture.h')
-rw-r--r-- | capture.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,7 @@ /* capture.h * Definitions for packet capture windows * - * $Id: capture.h,v 1.21 1999/10/02 19:57:24 guy Exp $ + * $Id: capture.h,v 1.22 2000/01/05 22:31:37 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -44,4 +44,6 @@ void do_capture(char *capfile_name); int capture(void); #endif /* HAVE_LIBPCAP */ + +#define EMPTY_FILTER "" #endif /* capture.h */ |