mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-06 16:36:16 +08:00
Update tlcp_client.c
This commit is contained in:
@@ -186,7 +186,9 @@ bad:
|
|||||||
if (select((int)(conn.sock + 1), // WinSock2 select() ignore this arg
|
if (select((int)(conn.sock + 1), // WinSock2 select() ignore this arg
|
||||||
&fds, NULL, NULL, NULL) < 0) {
|
&fds, NULL, NULL, NULL) < 0) {
|
||||||
fprintf(stderr, "%s: select failed\n", prog);
|
fprintf(stderr, "%s: select failed\n", prog);
|
||||||
|
#ifdef WIN32
|
||||||
fprintf(stderr, "WSAGetLastError = %u\n", WSAGetLastError());
|
fprintf(stderr, "WSAGetLastError = %u\n", WSAGetLastError());
|
||||||
|
#endif
|
||||||
goto end;
|
goto end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user