Hello,
In the largepost.c example the iterate_post callback has a bug in fwrite -
if (size > 0)
{
if (!fwrite (data, size, sizeof (char), con_info->fp))
return MHD_NO;
}
should be
if (size > 0)
{
if (!fwrite (data, sizeof (char), size , con_info->fp))
return MHD_NO;
}
Kind regards,
Anton Botvalde
