diff options
-rw-r--r-- | apps/s_socket.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c index a9228f42a6..5747475399 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -400,6 +400,7 @@ redoit: if (ret == INVALID_SOCKET) { #if defined(OPENSSL_SYS_WINDOWS) || (defined(OPENSSL_SYS_NETWARE) && !defined(NETWARE_BSDSOCK)) + int i; i=WSAGetLastError(); BIO_printf(bio_err,"accept error %d\n",i); #else |