diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-02-08 17:04:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-02-08 22:39:34 +0100 |
commit | d836d362ec4c1d467ef5df370ae2573cbd1bfd2b (patch) | |
tree | e0a4a553b7e9250b1575c2944450945fa235604f /lib/http.c | |
parent | ff9ec4e4a0d932f83e101e02955a8023ad38638a (diff) | |
download | curl-d836d362ec4c1d467ef5df370ae2573cbd1bfd2b.tar.gz |
urldata: remove the 'rtspversion' field
from struct connectdata and the corresponding code in http.c that set
it. It was never used for anything!
Closes #6581
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c index 4c80bf938..75cf7f4ab 100644 --- a/lib/http.c +++ b/lib/http.c @@ -4204,14 +4204,14 @@ CURLcode Curl_http_readwrite_headers(struct Curl_easy *data, } else if(conn->handler->protocol & CURLPROTO_RTSP) { char separator; + int rtspversion; nc = sscanf(HEADER1, " RTSP/%1d.%1d%c%3d", &rtspversion_major, - &conn->rtspversion, + &rtspversion, &separator, &k->httpcode); if((nc == 4) && (' ' == separator)) { - conn->rtspversion += 10 * rtspversion_major; conn->httpversion = 11; /* For us, RTSP acts like HTTP 1.1 */ } else { |