diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-10-28 10:21:19 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-10-28 10:21:19 +0000 |
commit | 6e0739931d3627f378abaa109fea4e62bcca1673 (patch) | |
tree | 4217eaa3e00798bddefbf5a659527f9a218b1b6e /docs/libcurl/libcurl-tutorial.3 | |
parent | b17ca44f0b33bed6c97ddbc112b023e50b9b4663 (diff) |
Philippe Vaucher pointed out this use of an outdated option name...
Diffstat (limited to 'docs/libcurl/libcurl-tutorial.3')
-rw-r--r-- | docs/libcurl/libcurl-tutorial.3 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/libcurl-tutorial.3 b/docs/libcurl/libcurl-tutorial.3 index 1a1b3980f..f006becb5 100644 --- a/docs/libcurl/libcurl-tutorial.3 +++ b/docs/libcurl/libcurl-tutorial.3 @@ -5,7 +5,7 @@ .\" * | (__| |_| | _ <| |___ .\" * \___|\___/|_| \_\_____| .\" * -.\" * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. +.\" * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * .\" * This software is licensed as described in the file COPYING, which .\" * you should have received as part of this distribution. The terms @@ -339,7 +339,7 @@ between the application and the callback. curl_easy_setopt(easyhandle, CURLOPT_READFUNCTION, read_function); - curl_easy_setopt(easyhandle, CURLOPT_INFILE, &filedata); + curl_easy_setopt(easyhandle, CURLOPT_READDATA, &filedata); Tell libcurl that we want to upload: |