mirror of
https://github.com/curl/curl.git
synced 2026-07-26 16:07:21 +03:00
remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY
This commit is contained in:
parent
a1087db5c6
commit
d9f686db88
8 changed files with 4 additions and 49 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue