]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
doh
authorJeff Lenk <jeff@jefflenk.com>
Mon, 19 Jul 2010 20:27:25 +0000 (15:27 -0500)
committerJeff Lenk <jeff@jefflenk.com>
Mon, 19 Jul 2010 20:27:25 +0000 (15:27 -0500)
libs/esl/src/esl.c

index e3ea1532b0d5686d64797fb8c3557113602a56c6..abfe9eb1a86f3ab4924db7bac8f4799d28432d84 100644 (file)
@@ -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;