Do not only update the argument name, but also where it's used.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Jun 2008 21:58:16 +0000 (21:58 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 23 Jun 2008 21:58:16 +0000 (21:58 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25566 f5534014-38df-0310-8fa8-9805f1628bb7

capture_opts.c

index 6662949eeea3a3032599a39819c9ca9e926dc3dc..be35d9743a7b678e75e09f34ca52bf6893f0bfd6 100644 (file)
@@ -77,7 +77,7 @@ static gboolean capture_opts_output_to_pipe(const char *save_file, gboolean *is_
 void
 capture_opts_init(capture_options *capture_opts, void *cf)
 {
-  capture_opts->cf                      = cfile;
+  capture_opts->cf                      = cf;
   capture_opts->cfilter                 = g_strdup("");     /* No capture filter string specified */
   capture_opts->iface                   = NULL;             /* Default is "pick the first interface" */
   capture_opts->iface_descr             = NULL;