From dc53a037b0ce091f2ade0d067ce9e88dd1c2ca21 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 5 Jul 2010 11:05:24 +0000 Subject: [PATCH] i variable is used on some platforms --- apps/s_socket.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1