From d9f686db88cc6ed01af8f7d690a9e44b7dcfb6ee Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 26 Sep 2011 03:18:51 +0200 Subject: remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY --- include/curl/curl.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'include') 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, -- cgit v1.2.3