Commit 41def21f authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ares_gethostbyname wants a 'ares_host_callback' in the 4th argument

parent d1183129
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -291,7 +291,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,

    /* areschannel is already setup in the Curl_open() function */
    ares_gethostbyname(data->state.areschannel, hostname, PF_INET,
                       (ares_callback)Curl_addrinfo4_callback, conn);
                       (ares_host_callback)Curl_addrinfo4_callback, conn);

    *waitp = TRUE; /* please wait for the response */
  }