summaryrefslogtreecommitdiff
path: root/utils/astman.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-04-22 00:20:34 +0000
committerMark Spencer <markster@digium.com>2004-04-22 00:20:34 +0000
commitd3f9887589e9d48753ac83d3b94e82c50c6bd446 (patch)
treedbaf6442bfe038629c0c97eef75077d71ebd2ec7 /utils/astman.c
parentca493a14e169c6047e0ca2d1fc5447dfc3f5aa4c (diff)
gethostbyname isn't reentrant, who knew...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2734 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'utils/astman.c')
-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