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>
This commit is contained in:
Guy Harris 2014-06-30 15:27:39 -07:00
parent a07dc8bfca
commit 0a2de4f26f
1 changed files with 1 additions and 1 deletions

View File

@ -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 */