From dbacc81af747f68e07b30b77b2c30161cefef08d Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 23 Aug 2004 14:41:54 +0000
Subject: [PATCH] added note about WRITEFUNCTION now being called with zero
 bytes if the file to be transfered is empty

---
 docs/libcurl/curl_easy_setopt.3 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3
index 6c1eea2f18..1653976414 100644
--- a/docs/libcurl/curl_easy_setopt.3
+++ b/docs/libcurl/curl_easy_setopt.3
@@ -93,6 +93,9 @@ of bytes actually taken care of. If that amount differs from the amount passed
 to your function, it'll signal an error to the library and it will abort the
 transfer and return \fICURLE_WRITE_ERROR\fP.
 
+This function may be called with zero bytes data if the transfered file is
+empty.
+
 Set the \fIstream\fP argument with the \fICURLOPT_WRITEDATA\fP option.
 
 \fBNOTE:\fP you will be passed as much data as possible in all invokes, but
-- 
GitLab