On Mon, 4 Jan 2010, Lars Nilsson wrote:

Right, but the code never reaches realloc(). Read the code again and notice
that 'mem' is NULL in the above scenario.

Isn't mem in the callback function the allocated value of bodyStruct?

Ugh - I'm blind! Sorry for my noise. I was clearly wrong and didn't read propery. I appologize.

--

 / 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