commit e2aa3222a2f91da46866562334ecc0550b3cc253
parent a9b2fb0815456e63f395ba97381e108caf099f51
Author: Christian Grothoff <christian@grothoff.org>
Date: Tue, 15 Apr 2025 12:50:36 +0200
-remove bogus check preventing POST upload on /setup
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/challenger/challenger-httpd_setup.c b/src/challenger/challenger-httpd_setup.c
@@ -90,8 +90,7 @@ CH_handler_setup (struct CH_HandlerContext *hc,
hc->ctx = sc;
return MHD_YES;
}
- if ( (NULL == sc->root) &&
- (0 != *upload_data_size) )
+ if (NULL == sc->root)
{
/* parse byte stream upload into JSON */
enum GNUNET_GenericReturnValue res;