mirror of
https://github.com/curl/curl.git
synced 2026-07-07 09:37:15 +03:00
CURLOPT_RTSP_SESSION_ID.md: expand the comment
Enhance the example code Closes #21363
This commit is contained in:
parent
d129ff355d
commit
1cc683c859
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ int main(void)
|
|||
CURL *curl = curl_easy_init();
|
||||
if(curl) {
|
||||
CURLcode result;
|
||||
char *prev_id = "old"; /* saved from before somehow */
|
||||
char *prev_id = "old"; /* previously retrieved RTSP session ID */
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "rtsp://example.com/");
|
||||
curl_easy_setopt(curl, CURLOPT_RTSP_SESSION_ID, prev_id);
|
||||
result = curl_easy_perform(curl);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue