1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

rtsp: fixed the RTST Session ID mismatch in test 570

Closes #6161
This commit is contained in:
Harry Sintonen 2020-11-03 12:29:40 +02:00 committed by Daniel Stenberg
parent adb0fcfab2
commit 77a7b93c25
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -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: