Commit ae2f1e5e authored by Martti Mela's avatar Martti Mela
Browse files

setting ai_canonname to NULL by default

parent a3a1fd63
......@@ -127,6 +127,7 @@ static int tport_http_connect_init_primary(tport_primary_t *pri,
hints->ai_addr = NULL;
hints->ai_addrlen = 0;
hints->ai_next = NULL;
hints->ai_canonname = NULL;
error = su_getaddrinfo(host, port, hints, &thc->thc_proxy);
if (error)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment