cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: memlimit fail

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Sat, 5 Feb 2005 23:13:17 +0100 (CET)

On Sat, 5 Feb 2005, Gisle Vanem wrote:

> This seems to fix it:

...

> + if (status == CURLE_OUT_OF_MEMORY)
> + return (status);

I think it looks fine. But you can probably return 'status' if it is non-zero,
to make it pass-through all errors that might occur and not just the out of
memory one.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2005-02-05