This commit is contained in:
Jeff Lenk 2010-07-19 15:27:25 -05:00
parent 6a9a61c79f
commit 394d545468

View 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;