aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-22 00:20:34 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-04-22 00:20:34 +0000
commit8f30aa29846673327fd04114d653311963782068 (patch)
treedbaf6442bfe038629c0c97eef75077d71ebd2ec7 /utils
parenta4f2d9262e216fe8e8607f8d8d07c08ec87c0149 (diff)
gethostbyname isn't reentrant, who knew...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2734 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'utils')
-rwxr-xr-xutils/astman.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/astman.c b/utils/astman.c
index 5ed355265..1b5cd50bc 100755
--- a/utils/astman.c
+++ b/utils/astman.c
@@ -23,6 +23,8 @@
#include <asterisk/md5.h>
#include <asterisk/manager.h>
+#undef gethostbyname
+
#define MAX_HEADERS 80
#define MAX_LEN 256