mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 01:41:50 -05:00
parent
adb0fcfab2
commit
77a7b93c25
@ -101,8 +101,12 @@ int test(char *URL)
|
|||||||
stream_uri = NULL;
|
stream_uri = NULL;
|
||||||
|
|
||||||
res = curl_easy_perform(curl);
|
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");
|
fprintf(stderr, "Failed to detect a Session ID mismatch");
|
||||||
|
res = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
test_cleanup:
|
test_cleanup:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user