gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [gnurl] 97/116: examples/rtsp: clear RANGE again after use


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 97/116: examples/rtsp: clear RANGE again after use
Date: Tue, 05 Dec 2017 14:52:07 +0100

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

ng0 pushed a commit to branch master
in repository gnurl.

commit ed22d8654b4e010e6eccec395e9ea93ac8ef0844
Author: Daniel Stenberg <address@hidden>
AuthorDate: Thu Nov 23 08:06:44 2017 +0100

    examples/rtsp: clear RANGE again after use
    
    Fixes #2106
    Reported-by: youngchopin on github
---
 docs/examples/rtsp.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/examples/rtsp.c b/docs/examples/rtsp.c
index 5c66aa6e5..3035e3fbc 100644
--- a/docs/examples/rtsp.c
+++ b/docs/examples/rtsp.c
@@ -129,6 +129,9 @@ static void rtsp_play(CURL *curl, const char *uri, const 
char *range)
   my_curl_easy_setopt(curl, CURLOPT_RANGE, range);
   my_curl_easy_setopt(curl, CURLOPT_RTSP_REQUEST, (long)CURL_RTSPREQ_PLAY);
   my_curl_easy_perform(curl);
+
+  /* switch off using range again */
+  my_curl_easy_setopt(curl, CURLOPT_RANGE, NULL);
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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