From aeb8bf1f370195a80113f056d4ab8ef9a9b4072c Mon Sep 17 00:00:00 2001 From: Bogdan Pilyugin Date: Tue, 11 Oct 2022 15:29:47 +0200 Subject: [PATCH] fix return result of custom post handler --- src/HTTPPostSystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HTTPPostSystem.c b/src/HTTPPostSystem.c index bc3a195..fd7ad85 100644 --- a/src/HTTPPostSystem.c +++ b/src/HTTPPostSystem.c @@ -89,7 +89,7 @@ static HTTP_IO_RESULT AfterPostHandler(httpd_req_t *req, const char *filename, c // If not found target URL here, try to call custom code if (AfterPostHandlerCust != NULL) - AfterPostHandlerCust(req, filename, PostData); + return AfterPostHandlerCust(req, filename, PostData); return HTTP_IO_DONE; }