On Fri, 3 Jun 2011, Paolo Piacentini wrote:

There's an example called getinmemory.c that has been time tested and would be a good starting point for code to do this sort of thing.

That's where I got the prototype. My writeFunction is *identical* to the WriteMemoryCallback of getinmemory.c up to the casting. And the problem I describe is certainly isolated between curl_easy_perform (the caller) and the casting.

Really, you should then probably just go back to the working version and try again. The problem is quite clearly that the logic in your code is broken.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to