commit 52b0b5f287e423149aed4c435898278e7ac44193
parent 5f55e0564482c8a7d04de5e95ba663571e16a9dd
Author: Christian Grothoff <grothoff@gnunet.org>
Date: Sun, 19 Jul 2026 23:51:42 +0200
fix args[] check
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/donau/donau-httpd_get-history.c b/src/donau/donau-httpd_get-history.c
@@ -69,14 +69,13 @@ DH_handler_get_history (
struct DH_RequestContext *rc,
const char *const args[])
{
-
- if (NULL != args[1])
+ if (NULL != args[0])
{
GNUNET_break_op (0);
return TALER_MHD_reply_with_error (rc->connection,
MHD_HTTP_BAD_REQUEST,
TALER_EC_GENERIC_ENDPOINT_UNKNOWN,
- args[1]);
+ args[0]);
}
{