Fix return type for frame_data_init()
[obnox/wireshark/wip.git] / cfile.c
diff --git a/cfile.c b/cfile.c
index b5b62e8ad196462608eed2b6cb9dee0fb3371960..62fab27fbb44b27d3d3be34d971a433680290367 100644 (file)
--- a/cfile.c
+++ b/cfile.c
@@ -2,10 +2,10 @@
  * capture_file GUI-independent manipulation 
  * Vassilii Khachaturov <vassilii@tarunz.org>
  *
- * $Id: cfile.c,v 1.1 2002/09/06 23:14:04 sahlberg Exp $
+ * $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,22 +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->save_file        = NULL;
-  cf->save_file_fd     = -1;
-  cf->has_snap = FALSE;
+  cf->has_snap         = FALSE;
   cf->snap             = WTAP_MAX_PACKET_SIZE;
   cf->count            = 0;
   cf->pstats           = NULL;
+  cf->redissecting     = FALSE;
 }