From 042ef33433332a37734894845908cacb942532f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Sat, 7 Aug 2010 20:25:50 +0000 Subject: [PATCH] * In documentation of CURL_WRITEFUNCTION, changed the ambiguous "data must be written by using this callback function" (written to where? the server or locally?) to "data must be saved"; this is also the verb used by the libcurl library docs. * In documentation of CURL_WRITEFUNCTION, changed the vague "or this will fail" to "or the transfer will be aborted with an error". This is supported by the libcurl docs. #see http://curl.haxx.se/libcurl/c/curl_easy_setopt.html git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301977 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/curl/functions/curl-setopt.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml index e471e7694e..502c812d08 100644 --- a/reference/curl/functions/curl-setopt.xml +++ b/reference/curl/functions/curl-setopt.xml @@ -1191,9 +1191,9 @@ The name of a callback function where the callback function takes two parameters. The first is the cURL resource, and the second is a - string with the data to be written. The data must be written by using - this callback function. Must return the exact number of bytes written - or this will fail. + string with the data to be written. The data must be saved by using + this callback function. It must return the exact number of bytes written + or the transfer will be aborted with an error.