summaryrefslogtreecommitdiff
path: root/text2pcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/text2pcap.c b/text2pcap.c
index fae7b14532..5da91378c8 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -1546,13 +1546,11 @@ parse_options (int argc, char *argv[])
create_app_running_mutex();
#endif /* _WIN32 */
- /* Assemble the compile-time version information string */
- comp_info_str = g_string_new("Compiled ");
- get_compiled_version_info(comp_info_str, NULL, get_text2pcap_compiled_info);
+ /* Get the compile-time version information string */
+ comp_info_str = get_compiled_version_info(NULL, get_text2pcap_compiled_info);
- /* Assemble the run-time version information string */
- runtime_info_str = g_string_new("Running ");
- get_runtime_version_info(runtime_info_str, get_text2pcap_runtime_info);
+ /* get the run-time version information string */
+ runtime_info_str = get_runtime_version_info(get_text2pcap_runtime_info);
/* Add it to the information to be reported on a crash. */
ws_add_crash_info("Text2pcap (Wireshark) %s\n"