mirror of
https://github.com/curl/curl.git
synced 2026-08-04 09:30:03 +03:00
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
This commit is contained in:
parent
ff9ec4e4a0
commit
d836d362ec
2 changed files with 2 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue