diff options
Diffstat (limited to 'apps/s_socket.c')
-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 2a57577b09..6d1d7d749d 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -408,6 +408,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 |