summaryrefslogtreecommitdiff
path: root/ui/commandline.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-06-19 14:12:30 -0700
committerGuy Harris <guy@alum.mit.edu>2016-06-19 21:12:41 +0000
commit234d8eacec8807924945df55821b79f90e371c65 (patch)
tree786c3508c939f3d0358f9b4c1842a0f2285bf808 /ui/commandline.c
parent85c805d60e752a6cd376c97a269596fdd7f15002 (diff)
downloadwireshark-234d8eacec8807924945df55821b79f90e371c65.tar.gz
Pass the info strings directly to commandline_early_options().
Just pass them directly as arguments, don't stuff them into a structure. Change-Id: Iac84226f54898bc953011bca64795e9049762905 Reviewed-on: https://code.wireshark.org/review/16022 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/commandline.c')
-rw-r--r--ui/commandline.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/commandline.c b/ui/commandline.c
index 6743d94081..a7a164c0fb 100644
--- a/ui/commandline.c
+++ b/ui/commandline.c
@@ -199,7 +199,8 @@ static void print_no_capture_support_error(void)
}
#endif
-void commandline_early_options(int argc, char *argv[], commandline_capture_param_info_t* param_info)
+void commandline_early_options(int argc, char *argv[],
+ GString *comp_info_str, GString *runtime_info_str)
{
int opt;
#ifdef HAVE_LIBPCAP
@@ -302,7 +303,7 @@ void commandline_early_options(int argc, char *argv[], commandline_capture_param
#ifdef _WIN32
create_console();
#endif
- show_version("Wireshark", param_info->comp_info_str, param_info->runtime_info_str);
+ show_version("Wireshark", comp_info_str, runtime_info_str);
#ifdef _WIN32
destroy_console();
#endif