summaryrefslogtreecommitdiffstats
path: root/apps/s_socket.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2011-03-12 13:55:24 +0000
committerBen Laurie <ben@openssl.org>2011-03-12 13:55:24 +0000
commit0c4e67102eb8a05ab1f6673b670a09ce89aeb568 (patch)
tree2c9351fb808b5820c8d6f8cfd232a20cbdb7ad3d /apps/s_socket.c
parent1b76fac5ae55d2d307f635af4775a7c9149c8551 (diff)
Fix warning.
Diffstat (limited to 'apps/s_socket.c')
-rw-r--r--apps/s_socket.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/s_socket.c b/apps/s_socket.c
index 2fff09f850..209958ab90 100644
--- a/apps/s_socket.c
+++ b/apps/s_socket.c
@@ -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);