]> granicus.if.org Git - openssl/commitdiff
i variable is used on some platforms
authorDr. Stephen Henson <steve@openssl.org>
Mon, 5 Jul 2010 11:03:50 +0000 (11:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Mon, 5 Jul 2010 11:03:50 +0000 (11:03 +0000)
apps/s_socket.c

index 14837783b42af55d872d7e5b455449aa7aca190d..c08544a13cbb5413f6eefd8718f3def000c38f5b 100644 (file)
@@ -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