Don't shadow.
authorBen Laurie <ben@openssl.org>
Sat, 3 Apr 1999 14:52:01 +0000 (14:52 +0000)
committerBen Laurie <ben@openssl.org>
Sat, 3 Apr 1999 14:52:01 +0000 (14:52 +0000)
apps/s_socket.c

index 0030b57936d524d961e84b671c8ee15c2c9f1cf9..56204e0be24b25f0cf1162dce70aae1fe64f43d1 100644 (file)
@@ -344,8 +344,8 @@ char *ip;
        if (s == INVALID_SOCKET) goto err;
 #if defined SOL_SOCKET && defined SO_REUSEADDR
                {
-               int i = 1;
-               setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &i, sizeof i);
+               int j = 1;
+               setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &j, sizeof j);
                }
 #endif
        if (bind(s,(struct sockaddr *)&server,sizeof(server)) == -1)