summaryrefslogtreecommitdiffstats
path: root/apps/s_socket.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-07-05 13:05:24 +0200
committerDr. Stephen Henson <steve@openssl.org>2010-07-05 13:05:24 +0200
commitdc53a037b0ce091f2ade0d067ce9e88dd1c2ca21 (patch)
treeff5fcbca16f8d0d21ec133dc7282d8570bf5835b /apps/s_socket.c
parentghash-armv4.pl: excuse myself from implementing "528B" flavour. (diff)
downloadopenssl-dc53a037b0ce091f2ade0d067ce9e88dd1c2ca21.tar.xz
openssl-dc53a037b0ce091f2ade0d067ce9e88dd1c2ca21.zip
i variable is used on some platforms
Diffstat (limited to 'apps/s_socket.c')
-rw-r--r--apps/s_socket.c1
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