On Wednesday 23 of December 2009 06:52:50 Joshua McCracken wrote:
> int get_url_data(void *buff, size_t size, size_t bytes, void *userp)
> {
> size_t actual_size = size * bytes;
> struct writestruct *memory = (struct writestruct *)userp;You want to stop debugger at this point ^^^. Check if the 'memory' pointer points to a valid object. The object is managed by you, not by libcurl. Where do you allocate and initialize the object you are working with actually? I suspect the pointer is no longer valid in time the callback is being executed... Kamil ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
