From: Jeff Lenk Date: Mon, 19 Jul 2010 20:27:25 +0000 (-0500) Subject: doh X-Git-Tag: v1.2-rc1~529 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=394d5454681aa28483ddd0865c42738fc3eb9586;p=thirdparty%2Ffreeswitch.git doh --- diff --git a/libs/esl/src/esl.c b/libs/esl/src/esl.c index e3ea1532b0..abfe9eb1a8 100644 --- a/libs/esl/src/esl.c +++ b/libs/esl/src/esl.c @@ -638,7 +638,6 @@ ESL_DECLARE(esl_status_t) esl_connect(esl_handle_t *handle, const char *host, es hints.ai_family = AF_INET; hints.ai_socktype = SOCK_STREAM; - gethostbyname(host); if (getaddrinfo(host, NULL, &hints, &result)) { strncpy(handle->err, "Cannot resolve host", sizeof(handle->err)); goto fail;