summaryrefslogtreecommitdiff
path: root/include/curl
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-09-26 03:18:51 +0200
committerYang Tse <yangsita@gmail.com>2011-09-26 13:05:42 +0200
commitd9f686db88cc6ed01af8f7d690a9e44b7dcfb6ee (patch)
tree6cb022096ed3d70163760390e60a7fcb5a48ef7b /include/curl
parenta1087db5c61c7cc1e8bae09d2abc65a88d1826cf (diff)
downloadcurl-d9f686db88cc6ed01af8f7d690a9e44b7dcfb6ee.tar.gz
remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/curl.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h
index 4f0182616..062f788a3 100644
--- a/include/curl/curl.h
+++ b/include/curl/curl.h
@@ -191,11 +191,6 @@ typedef int (*curl_progress_callback)(void *clientp,
will signal libcurl to pause receiving on the current transfer. */
#define CURL_WRITEFUNC_PAUSE 0x10000001
-/* If the write callback itself allocates memory dynamically and this fails
- due to an out of memory condition, returning CURL_WRITEFUNC_OUT_OF_MEMORY
- is the proper way to tell libcurl of this condition. */
-#define CURL_WRITEFUNC_OUT_OF_MEMORY 0x10000002
-
typedef size_t (*curl_write_callback)(char *buffer,
size_t size,
size_t nitems,