diff options
author | Yang Tse <yangsita@gmail.com> | 2011-09-26 03:18:51 +0200 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2011-09-26 13:05:42 +0200 |
commit | d9f686db88cc6ed01af8f7d690a9e44b7dcfb6ee (patch) | |
tree | 6cb022096ed3d70163760390e60a7fcb5a48ef7b /lib/rtsp.c | |
parent | a1087db5c61c7cc1e8bae09d2abc65a88d1826cf (diff) | |
download | curl-d9f686db88cc6ed01af8f7d690a9e44b7dcfb6ee.tar.gz |
remove short-lived CURL_WRITEFUNC_OUT_OF_MEMORY
Diffstat (limited to 'lib/rtsp.c')
-rw-r--r-- | lib/rtsp.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/rtsp.c b/lib/rtsp.c index 77c1367ff..198c25dc1 100644 --- a/lib/rtsp.c +++ b/lib/rtsp.c @@ -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; |