aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/rtsp.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2014-07-05 16:59:12 +0200
committerDan Fandrich <dan@coneharvesters.com>2014-07-05 22:47:13 +0200
commit3ae2b6cd7ff6eda5c6856efb6b2cdf52b61e980c (patch)
tree2a7ed6b30ce8ec8fc1366f7f39333124f6c8fe10 /docs/examples/rtsp.c
parent8ffe6f5b5761aa77b3e5eae236475b173e9efd2f (diff)
Update instances of some obsolete CURLOPTs to their new names
Diffstat (limited to 'docs/examples/rtsp.c')
-rw-r--r--docs/examples/rtsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/rtsp.c b/docs/examples/rtsp.c
index 669780a9b..fed343dfd 100644
--- a/docs/examples/rtsp.c
+++ b/docs/examples/rtsp.c
@@ -224,7 +224,7 @@ int main(int argc, char * const argv[])
if (curl != NULL) {
my_curl_easy_setopt(curl, CURLOPT_VERBOSE, 0L);
my_curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1L);
- my_curl_easy_setopt(curl, CURLOPT_WRITEHEADER, stdout);
+ my_curl_easy_setopt(curl, CURLOPT_HEADERDATA, stdout);
my_curl_easy_setopt(curl, CURLOPT_URL, url);
/* request server options */