curl-library
Re: CURLE_WRITE_ERROR
Date: Tue, 30 Jan 2007 05:46:35 +0000 (GMT)
Hey, thanks! I read that document section before but I
misunderstood the point. It works fine. :)
Shiou Ming
--- Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Mon, 29 Jan 2007, Shiou Ming, Lee wrote:
>
> > curl_easy_perform() always returning
> CURLE_WRITE_ERROR although the callback
> > function itself is empty and just returns a zero
> (I tried to make it returns
> > 1 but result is the same).
>
> ... quote from the docs:
>
> "Return the number of bytes actually taken care of.
> If that amount differs
> from the amount passed to your function, it'll
> signal an error to the library
> and it will abort the transfer and return
> CURLE_WRITE_ERROR."
>
> --
> Commercial curl and libcurl Technical Support:
> http://haxx.se/curl.html
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
Received on 2007-01-30