summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-30 15:37:58 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-30 22:38:26 +0000
commit4b59394f5e1da97305de15c0d1aa3161acbf392c (patch)
treedc592eb4c34e22bfbe1cecb80dbab25e8bf0ccd6
parent13221904228eedc6d75455433fb7beb77ab30cba (diff)
downloadwireshark-4b59394f5e1da97305de15c0d1aa3161acbf392c.tar.gz
Always set the crash information.
There's no reason to do it only on Windows - and, in fact, the only platform where we currently do anything with the information is OS X. Every other program in the Wireshark suite that does it at all does it on all platforms. Change-Id: I7d017be224628fc08aaf7e64b380af7a5beb0232 Reviewed-on: https://code.wireshark.org/review/2731 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--ui/gtk/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index 79c5b92dab..f0edc8e70b 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2265,7 +2265,6 @@ main(int argc, char *argv[])
runtime_info_str = g_string_new("Running ");
get_runtime_version_info(runtime_info_str, get_gui_runtime_info);
-#ifdef _WIN32
ws_add_crash_info(PACKAGE " " VERSION "%s\n"
"\n"
"%s"
@@ -2273,6 +2272,7 @@ main(int argc, char *argv[])
"%s",
wireshark_gitversion, comp_info_str->str, runtime_info_str->str);
+#ifdef _WIN32
/* Start windows sockets */
WSAStartup( MAKEWORD( 1, 1 ), &wsaData );
#endif /* _WIN32 */