mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
libtest_convenience_server_reply: fixed chunked testing
This commit is contained in:
@@ -411,8 +411,8 @@ chunk_return (void *cls,
|
||||
|
||||
if (0 == imax)
|
||||
return MHD_DCC_action_finish (ctx);
|
||||
if (imax > space - cc->pos + 1)
|
||||
imax = space - cc->pos;
|
||||
if (NULL != space)
|
||||
imax = space - cc->pos + 1;
|
||||
if (imax > max)
|
||||
imax = max;
|
||||
memcpy (buf,
|
||||
|
||||
Reference in New Issue
Block a user