libmicrohttpd
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[libmicrohttpd] Bug in largepost.c example
From
:
Anton Botvalde
Subject
:
[libmicrohttpd] Bug in largepost.c example
Date
:
Fri, 11 Dec 2015 08:51:07 +0100
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
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[libmicrohttpd] Bug in largepost.c example
,
Anton Botvalde
<=
Re: [libmicrohttpd] Bug in largepost.c example
,
Andreas Wehrmann
,
2015/12/11
Re: [libmicrohttpd] Bug in largepost.c example
,
Martin Bonner
,
2015/12/11
Re: [libmicrohttpd] Bug in largepost.c example
,
Christian Grothoff
,
2015/12/11
Prev by Date:
Re: [libmicrohttpd] Problem with Keep-Alive and MHD_OPTION_CONNECTION_TIMEOUT in MHD_USE_THREAD_PER_CONNECTION mode
Next by Date:
Re: [libmicrohttpd] Bug in largepost.c example
Previous by thread:
[libmicrohttpd] Problem with Keep-Alive and MHD_OPTION_CONNECTION_TIMEOUT in MHD_USE_THREAD_PER_CONNECTION mode
Next by thread:
Re: [libmicrohttpd] Bug in largepost.c example
Index(es):
Date
Thread