summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-17 23:12:15 +0000
committerMark Spencer <markster@digium.com>2005-03-17 23:12:15 +0000
commitf9cfe6031288acf02cbdf95d370ecb38f5a929dc (patch)
tree3fa0c3a5fb61e3662f4353566a235dca4291f79a /utils.c
parent4c4264a448a4096be209649e170759fd0dde9ba4 (diff)
Add support for Solaris/x86 (bug #3064)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils.c')
-rwxr-xr-xutils.c1
1 files changed, 1 insertions, 0 deletions
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;