From 6e0739931d3627f378abaa109fea4e62bcca1673 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 28 Oct 2008 10:21:19 +0000 Subject: Philippe Vaucher pointed out this use of an outdated option name... --- docs/libcurl/libcurl-tutorial.3 | 4 ++-- 1 file 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, , et al. +.\" * Copyright (C) 1998 - 2008, Daniel Stenberg, , 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: -- cgit v1.2.3