gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnurl] 305/411: rtsp: fixed the RTST Session ID mismatch in test 570


From: gnunet
Subject: [gnurl] 305/411: rtsp: fixed the RTST Session ID mismatch in test 570
Date: Wed, 13 Jan 2021 01:22:00 +0100

This is an automated email from the git hooks/post-receive script.

nikita pushed a commit to branch master
in repository gnurl.

commit 77a7b93c25041ec27baa7bbe4300cf88cb3c4dbb
Author: Harry Sintonen <sintonen@iki.fi>
AuthorDate: Tue Nov 3 12:29:40 2020 +0200

    rtsp: fixed the RTST Session ID mismatch in test 570
    
    Closes #6161
---
 tests/libtest/lib570.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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:

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]