mirror of
https://github.com/curl/curl.git
synced 2026-08-05 05:06:13 +03:00
parent
fc3261b284
commit
be92f0a2e4
8 changed files with 76 additions and 79 deletions
|
|
@ -3170,13 +3170,13 @@ static statusline checkhttpprefix(struct Curl_easy *data,
|
|||
static statusline checkrtspprefix(struct Curl_easy *data,
|
||||
const char *s, size_t len)
|
||||
{
|
||||
statusline result = STATUS_BAD;
|
||||
statusline status = STATUS_BAD;
|
||||
statusline onmatch = len >= 5 ? STATUS_DONE : STATUS_UNKNOWN;
|
||||
(void)data;
|
||||
if(checkprefixmax("RTSP/", s, len))
|
||||
result = onmatch;
|
||||
status = onmatch;
|
||||
|
||||
return result;
|
||||
return status;
|
||||
}
|
||||
#endif /* CURL_DISABLE_RTSP */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue