Fix warning.
[openssl.git] / apps / s_socket.c
index 2fff09f850d24597f5891abafa4e7fc38f276c71..209958ab908b0e8bcc3eb0506cc080da12e1927f 100644 (file)
@@ -233,6 +233,7 @@ int init_client(int *sock, char *host, int port, int type)
        {
        unsigned char ip[4];
 
+       ip[0] = ip[1] = ip[2] = ip[3] = 0;
        if (!host_ip(host,&(ip[0])))
                {
                return(0);