mirror of
https://github.com/curl/curl.git
synced 2026-08-11 14:41:48 +03:00
parent
adb0fcfab2
commit
77a7b93c25
1 changed files with 5 additions and 1 deletions
|
|
@ -101,8 +101,12 @@ int test(char *URL)
|
|||
stream_uri = NULL;
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
if(res != CURLE_RTSP_SESSION_ERROR) {
|
||||
if(res == CURLE_RTSP_SESSION_ERROR) {
|
||||
res = 0;
|
||||
}
|
||||
else {
|
||||
fprintf(stderr, "Failed to detect a Session ID mismatch");
|
||||
res = 1;
|
||||
}
|
||||
|
||||
test_cleanup:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue