url: reduce conn->data references

... there are a few left but let's keep them to last

Closes #6512
This commit is contained in:
Daniel Stenberg 2021-01-24 23:32:24 +01:00
parent df58343440
commit 560fc170ec
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
4 changed files with 47 additions and 45 deletions

View file

@ -1108,7 +1108,7 @@ CURLcode Curl_once_resolved(struct Curl_easy *data, bool *protocol_done)
data->state.async.dns = NULL;
}
result = Curl_setup_conn(conn, protocol_done);
result = Curl_setup_conn(data, protocol_done);
if(result) {
Curl_detach_connnection(data);