unlock dns cache entries with a function call instead of a variable fiddle
This commit is contained in:
@@ -249,8 +249,8 @@ static CURLcode bindlocal(struct connectdata *conn,
|
||||
if ( h ) {
|
||||
Curl_addrinfo *addr = h->addr;
|
||||
|
||||
h->inuse--; /* decrease the use-counter, we don't need it anymore
|
||||
after this function has returned */
|
||||
Curl_resolv_unlock(h);
|
||||
/* we don't need it anymore after this function has returned */
|
||||
|
||||
memset((char *)&sa, 0, sizeof(sa));
|
||||
#ifdef ENABLE_IPV6
|
||||
|
Reference in New Issue
Block a user