aboutsummaryrefslogtreecommitdiffstats
path: root/wireshark-qt.cpp
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-27 19:54:42 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-28 02:55:38 +0000
commit3ebac2babbd9af1593b86084214051c4c2da8eb2 (patch)
tree553bb90d7cfdbc0d446668fde209f4287ad3882e /wireshark-qt.cpp
parentac4ad2bd44f2b8f6981581c683d15645bf2e70cc (diff)
Have commandline_other_options() directly fill in the global structure.
Other code looks at the global structure, so there won't be other structures; just fill in the global structure directly. Change-Id: I4dc87b79168c5a7c9ab1f085aa2d78cc6d2c9019 Reviewed-on: https://code.wireshark.org/review/16184 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r--wireshark-qt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp
index b14962825f..6acfee27a1 100644
--- a/wireshark-qt.cpp
+++ b/wireshark-qt.cpp
@@ -592,7 +592,7 @@ int main(int argc, char *argv[])
global_commandline_info.prefs_p = ws_app.readConfigurationFiles(&gdp_path, &dp_path, false);
/* Now get our args */
- commandline_other_options(argc, argv, &global_commandline_info, TRUE);
+ commandline_other_options(argc, argv, TRUE);
/* Convert some command-line parameters to QStrings */
if (global_commandline_info.cf_name != NULL)