diff options
author | Harry Sintonen <sintonen@iki.fi> | 2020-11-03 12:29:40 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-11-04 08:14:16 +0100 |
commit | 77a7b93c25041ec27baa7bbe4300cf88cb3c4dbb (patch) | |
tree | 9a5ffba4297cbcc704b69255577255c96154ce66 /tests | |
parent | adb0fcfab238ac6858ade3b9b5cc332fa0f60dfd (diff) | |
download | curl-77a7b93c25041ec27baa7bbe4300cf88cb3c4dbb.tar.gz |
rtsp: fixed the RTST Session ID mismatch in test 570
Closes #6161
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libtest/lib570.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/libtest/lib570.c b/tests/libtest/lib570.c index 016ed1098..879edefdb 100644 --- a/tests/libtest/lib570.c +++ b/tests/libtest/lib570.c @@ -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: |