plugin_if: fix bug in var assignment.
authorDario Lombardo <lomato@gmail.com>
Sat, 16 Jan 2016 14:00:52 +0000 (15:00 +0100)
committerMichael Mann <mmann78@netscape.net>
Sat, 16 Jan 2016 17:53:42 +0000 (17:53 +0000)
This bug was introduced in d1cb746, when HAVE_PCAP is not defined.

Change-Id: I67cd51e4eec45cf7e7c3bdbfea9b8e164bb92883
Reviewed-on: https://code.wireshark.org/review/13333
Petri-Dish: Dario Lombardo <lomato@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/plugin_if.c

index ac86f7858db0c6385ceac8d603980cab23955cd0..4757dd7b2534d30b2f08bb4441f53612a7333355 100644 (file)
@@ -271,12 +271,12 @@ extern void plugin_if_get_ws_info(ws_info_t **ws_info_ptr)
 
     /* Initialise the ws_info structure */
 
-    ws_info->ws_info_supported = false;
-    ws_info->cf_count = 0;
-    ws_info->cf_filename = NULL;
-    ws_info->cf_framenr = 0;
-    ws_info->frame_passed_dfilter = FALSE;
-    ws_info->cf_state = FILE_CLOSED;
+    ws_info.ws_info_supported = FALSE;
+    ws_info.cf_count = 0;
+    ws_info.cf_filename = NULL;
+    ws_info.cf_framenr = 0;
+    ws_info.frame_passed_dfilter = FALSE;
+    ws_info.cf_state = FILE_CLOSED;
 
 #endif /* HAVE_LIBPCAP */