From 497b4f92d29c7131c5fdfeea2e55397d27337975 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 5 Jul 2010 11:03:50 +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 14837783b4..c08544a13c 100644 --- a/apps/s_socket.c +++ b/apps/s_socket.c @@ -406,6 +406,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.40.0