libmicrohttpd2

HTTP server C library (MHD 2.x, alpha)
Log | Files | Refs | README | LICENSE

commit 35320a70895ce138917883d71bdd4ccb66a3a150
parent bb41e87905cd249a2c60d15a89ef2f1d1d508606
Author: Evgeny Grin <k2k@drgrin.dev>
Date:   Thu, 15 May 2025 21:11:54 +0300

json_echo.c: removed unportable debug printf()s

Diffstat:
Msrc/examples2/json_echo.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/src/examples2/json_echo.c b/src/examples2/json_echo.c @@ -165,10 +165,6 @@ sock_reg_update_cb ( struct MHD_EventUpdateContext *ecb_cntx) { (void) cls; /* Unused. Mute compiler warning. */ - fprintf (stderr, - "reg update on %d - %d\n", - fd, - watch_for); #ifdef MHD_SOCKETS_KIND_POSIX /* The value is limited by MHD_D_OPTION_FD_NUMBER_LIMIT() */ assert (fd < FD_SETSIZE); @@ -221,9 +217,6 @@ sock_reg_update_cb ( &es); if (fd > max_fd) max_fd = fd; - fprintf (stderr, - "returning %p\n", - app_cntx); return app_cntx; }