commit f804adcdb17b4bb2f9a103603b5d514f350c1b02 parent 569d0bab033bece386135416bca564c120b41b48 Author: Evgeny Grin (Karlson2k) <k2k@drgrin.dev> Date: Wed, 8 Jul 2026 23:03:42 +0200 Fixed inverted check in error path Diffstat:
| M | src/mhd2/stream_process_request.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mhd2/stream_process_request.c b/src/mhd2/stream_process_request.c @@ -3561,7 +3561,7 @@ process_request_chunked_body (struct MHD_Connection *restrict c) { /* Failed to grow the buffer, no space to put the new data */ const struct MHD_UploadAction *act; - if (NULL != c->rq.app_act.head_act.data.upload.inc.cb) + if (NULL == c->rq.app_act.head_act.data.upload.inc.cb) { mhd_RESPOND_WITH_ERROR_STATIC ( c,