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 0030b57..56204e0 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)