summaryrefslogtreecommitdiff
path: root/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
diff options
context:
space:
mode:
authorNic Eigel <nic@eigel.ch>2024-04-26 10:38:20 +0200
committerNic Eigel <nic@eigel.ch>2024-04-26 10:38:20 +0200
commitdf3aada1ea1adbf11a5a119d2bb97b3976fedb3d (patch)
tree1c25874292ec2c41eba8e76f9e09f876c7938f82 /src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
parent157dd4fa26a039bf2600290b2680b3ba79b15b2a (diff)
downloadexchange-df3aada1ea1adbf11a5a119d2bb97b3976fedb3d.tar.gz
exchange-df3aada1ea1adbf11a5a119d2bb97b3976fedb3d.tar.bz2
exchange-df3aada1ea1adbf11a5a119d2bb97b3976fedb3d.zip
updates based on test-auditor.sh
Diffstat (limited to 'src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c')
-rw-r--r--src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c b/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
index c30524419..f6e2df645 100644
--- a/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
+++ b/src/auditor/taler-auditor-httpd_reserve-balance-summary-wrong-inconsistency-get.c
@@ -122,7 +122,7 @@ TAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_handler_get (struct
TALER_MHD_parse_request_number (connection,
"offset",
&offset);
-
+ limit = 0;
bool return_suppressed = false;
struct GNUNET_JSON_Specification spec[] = {
@@ -131,7 +131,7 @@ TAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_handler_get (struct
};
// read the input json
- json_t *json_in;
+ /*json_t *json_in;
{
enum GNUNET_GenericReturnValue res;
@@ -151,14 +151,14 @@ TAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_handler_get (struct
if (GNUNET_SYSERR == res)
{
json_decref (json_in);
- return MHD_NO; /* hard failure */
+ return MHD_NO;
}
if (GNUNET_NO == res)
{
json_decref (json_in);
- return MHD_YES; /* failure */
+ return MHD_YES;
}
- }
+ } */
qs = TAH_plugin->get_reserve_balance_summary_wrong_inconsistency (
TAH_plugin->cls,
@@ -182,6 +182,6 @@ TAH_RESERVE_BALANCE_SUMMARY_WRONG_INCONSISTENCY_handler_get (struct
return TALER_MHD_REPLY_JSON_PACK (
connection,
MHD_HTTP_OK,
- GNUNET_JSON_pack_array_steal ("reserve-balance-summary-wrong-inconsistency",
+ GNUNET_JSON_pack_array_steal ("reserve_balance_summary_wrong_inconsistency",
ja));
}