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:
parent
a07dc8bfca
commit
0a2de4f26f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue