From 57710533e753388fd7a1721f66a4d847c8b6e44b Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 17 Mar 2005 23:12:15 +0000 Subject: Add support for Solaris/x86 (bug #3064) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5199 f38db490-d61c-443f-a65b-d21fe96a405b --- utils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'utils.c') diff --git a/utils.c b/utils.c index 893543c15..6d99111b1 100755 --- a/utils.c +++ b/utils.c @@ -164,6 +164,7 @@ struct hostent *ast_gethostbyname(const char *host, struct ast_hostent *hp) integers, we break with tradition and refuse to look up a pure integer */ s = host; + res = 0; while(s && *s) { if (!isdigit(*s)) break; -- cgit v1.2.3