diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-03-26 14:25:45 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-03-26 23:19:20 +0100 |
commit | 95cbcec8f986492766c4be3922af1e7644e1e7c5 (patch) | |
tree | 8ab1d4ad09d8bc078a96a18032be464c41e3bb1e /lib/rtsp.c | |
parent | d003b0213a08678264db5c987a0556a2a6785438 (diff) | |
download | curl-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/rtsp.c')
-rw-r--r-- | lib/rtsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c index 55766757a..3029ff526 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -404,8 +404,8 @@ static CURLcode rtsp_do(struct Curl_easy *data, bool *done) /* Referrer */ Curl_safefree(data->state.aptr.ref); - if(data->change.referer && !Curl_checkheaders(data, "Referer")) - data->state.aptr.ref = aprintf("Referer: %s\r\n", data->change.referer); + if(data->state.referer && !Curl_checkheaders(data, "Referer")) + data->state.aptr.ref = aprintf("Referer: %s\r\n", data->state.referer); else data->state.aptr.ref = NULL; |