Fix warning.

This commit is contained in:
Ben Laurie
2011-03-12 13:55:24 +00:00
parent 1b76fac5ae
commit 0c4e67102e
2 changed files with 2 additions and 1 deletions

View 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);