mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:13:36 +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
|
|
@ -725,11 +725,6 @@ CURLcode rtp_client_write(struct connectdata *conn, char *ptr, size_t len)
|
|||
writeit = data->set.fwrite_rtp?data->set.fwrite_rtp:data->set.fwrite_func;
|
||||
wrote = writeit(ptr, 1, len, data->set.rtp_out);
|
||||
|
||||
if(CURL_WRITEFUNC_OUT_OF_MEMORY == wrote) {
|
||||
failf (data, "Out of memory writing RTP data");
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
if(CURL_WRITEFUNC_PAUSE == wrote) {
|
||||
failf (data, "Cannot pause RTP");
|
||||
return CURLE_WRITE_ERROR;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue