summaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-03-26 14:25:45 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-03-26 23:19:20 +0100
commit95cbcec8f986492766c4be3922af1e7644e1e7c5 (patch)
tree8ab1d4ad09d8bc078a96a18032be464c41e3bb1e /lib/multi.c
parentd003b0213a08678264db5c987a0556a2a6785438 (diff)
downloadcurl-95cbcec8f986492766c4be3922af1e7644e1e7c5.tar.gz
urldata: merge "struct DynamicStatic" into "struct UrlState"
Both were used for the same purposes and there was no logical separation between them. Combined, this also saves 16 bytes in less holes in my test build. Closes #6798
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 5de479322..cce3149dd 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -2164,7 +2164,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
data->state.errorbuf = FALSE;
if(!newurl)
/* typically for HTTP_1_1_REQUIRED error on first flight */
- newurl = strdup(data->change.url);
+ newurl = strdup(data->state.url);
/* if we are to retry, set the result to OK and consider the request
as done */
retry = TRUE;