remove wrong! string terminator detection
[metze/wireshark/wip.git] / cfile.c
diff --git a/cfile.c b/cfile.c
index 225d88b863493fff3c26818deab56631d7746fcc..62fab27fbb44b27d3d3be34d971a433680290367 100644 (file)
--- a/cfile.c
+++ b/cfile.c
@@ -4,8 +4,8 @@
  *
  * $Id$
  *
- * Ethereal - Network traffic analyzer
- * By Gerald Combs <gerald@ethereal.com>
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
@@ -44,20 +44,16 @@ init_cap_file(capture_file *cf)
 {
   /* Initialize the capture file struct */
   cf->plist            = NULL;
-  cf->plist_end        = NULL;
+  cf->plist_end                = NULL;
   cf->wth              = NULL;
-  cf->filename = NULL;
+  cf->filename         = NULL;
   cf->user_saved       = FALSE;
   cf->is_tempfile      = FALSE;
   cf->rfcode           = NULL;
   cf->dfilter          = NULL;
-  cf->dfcode           = NULL;
-#ifdef HAVE_LIBPCAP
-  cf->cfilter          = g_strdup("");
-#endif
-  cf->iface            = NULL;
-  cf->has_snap = FALSE;
+  cf->has_snap         = FALSE;
   cf->snap             = WTAP_MAX_PACKET_SIZE;
   cf->count            = 0;
   cf->pstats           = NULL;
+  cf->redissecting     = FALSE;
 }