LinkedIn
I'd like to add you to my professional network on LinkedIn.
- Riccardo
Riccardo Tacconi
Web Developer (contractor) at Wolseley
Coventry, United Kingdom
Confirm that you know Riccardo Tacconi:
https://www.linkedin.com/e/-ve8ocx-h8vajslw-4d/isd/9304469482/iDYRAXY
Awesome! Thank you
On Saturday, 11 August 2012, Nir Soffer wrote:
>
> On Aug 11, 2012, at 6:30 PM, Riccardo Tacconi wrote:
>
>> Hi,
>>
>> I have the following code called from libevent's http-server.c demo:
>>
>> #include "servlet.h"
, в 19:15, Riccardo Tacconi wrote
> > char *data;
> > evbuffer_copyout(in_evb, data, len);
>
> Hello. You must have an initialized data buffer before copying anything to
> it. Something like:
> char *data = malloc(len);
>
> With your current code you try to wri