remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY

This commit is contained in:
Yang Tse 2011-09-26 03:18:51 +02:00
parent a1087db5c6
commit d9f686db88
8 changed files with 4 additions and 49 deletions

View file

@ -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,