]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Philippe Vaucher pointed out this use of an outdated option name...
authorDaniel Stenberg <daniel@haxx.se>
Tue, 28 Oct 2008 10:21:19 +0000 (10:21 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 28 Oct 2008 10:21:19 +0000 (10:21 +0000)
docs/libcurl/libcurl-tutorial.3

index 1a1b3980f1fd7ca34cdec630d3ea60cba79cdd94..f006becb53fdce0a804c29baf22a9521c6614c6a 100644 (file)
@@ -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: