aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2014-06-30 15:27:39 -0700
committerGuy Harris <guy@alum.mit.edu>2014-06-30 22:36:14 +0000
commit0a2de4f26f720d4a2c296f1cb9a702b769d72b5d (patch)
treebce2d878e6675cd38c234072735a884686baf87e /ui/gtk
parenta07dc8bfca024cb7a6efed36f21a061dbc7c592f (diff)
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: I8ab29fd86656dd44322991d0d7263c6bb4fcd425 Reviewed-on: https://code.wireshark.org/review/2730 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/gtk')
-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 bf42840afe..bf6823ecea 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2264,7 +2264,6 @@ main(int argc, char *argv[])
runtime_info_str = g_string_new("Running ");
get_runtime_version_info(runtime_info_str, get_wireshark_runtime_info);
-#ifdef _WIN32
ws_add_crash_info(PACKAGE " %s\n"
"\n"
"%s"
@@ -2272,6 +2271,7 @@ main(int argc, char *argv[])
"%s",
get_ws_vcs_version_info(), comp_info_str->str, runtime_info_str->str);
+#ifdef _WIN32
/* Start windows sockets */
WSAStartup( MAKEWORD( 1, 1 ), &wsaData );
#endif /* _WIN32 */