applying patch from Tim

This commit is contained in:
Christian Grothoff
2019-04-30 15:39:10 +02:00
parent c3ac4b58de
commit 58552e93ac
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -62,6 +62,7 @@ Tal Moaz <tmoaz@cisco.com>
Dirk Brinkmeier
Jose Bollo <jobol@nonadev.net>
Jonathan McDougall <jonathanmcdougall@gmail.com>
Tim Ruhsen <tim.ruehsen@gmx.de>
Documentation contributions also came from:
Marco Maggi <marco.maggi-ipsu@poste.it>
+3
View File
@@ -1,3 +1,6 @@
Mon 29 Apr 2019 01:26:39 AM BRT
Fixed signed/unsigned comparison in example http_chunked_compression.c. -SC/TR
Mon 15 Apr 2019 05:33:52 PM CEST
Add MHD_USE_POST_HANDSHAKE_AUTH_SUPPORT and
MHD_USE_INSECURE_TLS_EARLY_DATA flags. -CG
+1 -1
View File
@@ -92,7 +92,7 @@ read_cb (void *cls, uint64_t pos, char *mem, size_t size)
if (NULL == src)
return MHD_CONTENT_READER_END_WITH_ERROR;
size = fread (src, 1, size, holder->file);
if (size < 0)
if ((ssize_t) size < 0)
{
size = MHD_CONTENT_READER_END_WITH_ERROR;
goto done;