libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit b98468404c7c2a3adc5a591a9472fdd957a01341
parent c623d35dcc88d0e90a239289b947f0199ad02d5b
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 31 Jan 2017 13:28:01 +0100

avoid c99 construct, we do not yet require c99 elsewhere

Diffstat:
Msrc/examples/upgrade_example.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/examples/upgrade_example.c b/src/examples/upgrade_example.c @@ -68,9 +68,10 @@ send_all (MHD_socket sock, size_t len) { ssize_t ret; + size_t off; make_blocking (sock); - for (size_t off = 0; off < len; off += ret) + for (off = 0; off < len; off += ret) { ret = send (sock, &buf[off],