mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:53:32 +03:00
add debug messages for initialization failures
This commit is contained in:
parent
cbf58d88d0
commit
31e598d2f3
8 changed files with 66 additions and 11 deletions
|
|
@ -130,7 +130,7 @@ void win32_init(void)
|
|||
|
||||
if (err != 0) {
|
||||
perror("Winsock init failed");
|
||||
logmsg("Error initialising winsock -- aborting\n");
|
||||
logmsg("Error initialising winsock -- aborting");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ void win32_init(void)
|
|||
|
||||
WSACleanup();
|
||||
perror("Winsock init failed");
|
||||
logmsg("No suitable winsock.dll found -- aborting\n");
|
||||
logmsg("No suitable winsock.dll found -- aborting");
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue