diff options
author | Cedric Zwahlen <cedric.zwahlen@students.bfh.ch> | 2024-04-16 18:54:24 +0200 |
---|---|---|
committer | Cedric Zwahlen <cedric.zwahlen@students.bfh.ch> | 2024-04-19 20:47:34 +0200 |
commit | ba725b627efe5d5a6b4131898c7ee643fce85380 (patch) | |
tree | 01aad63c0e7a12f37e026fc64d1fc8f839fda5ce /src/auditor/taler-auditor-httpd_row-minor-inconsistencies-put.c | |
parent | 962bcbc6a6bd10f3bbe80766278c36b02f53c7e4 (diff) | |
download | exchange-ba725b627efe5d5a6b4131898c7ee643fce85380.tar.gz exchange-ba725b627efe5d5a6b4131898c7ee643fce85380.tar.bz2 exchange-ba725b627efe5d5a6b4131898c7ee643fce85380.zip |
Fix various CRUD bugs
Diffstat (limited to 'src/auditor/taler-auditor-httpd_row-minor-inconsistencies-put.c')
-rw-r--r-- | src/auditor/taler-auditor-httpd_row-minor-inconsistencies-put.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-put.c b/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-put.c index 1b32dd4f4..a0eab0c69 100644 --- a/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-put.c +++ b/src/auditor/taler-auditor-httpd_row-minor-inconsistencies-put.c @@ -1,5 +1,3 @@ - - /* This file is part of TALER Copyright (C) 2024 Taler Systems SA @@ -17,7 +15,6 @@ */ - #include "platform.h" #include <gnunet/gnunet_util_lib.h> #include <gnunet/gnunet_json_lib.h> @@ -58,7 +55,7 @@ process_inconsistency ( /* execute transaction */ qs = TAH_plugin->insert_row_minor_inconsistencies (TAH_plugin->cls, - dc); + dc); if (0 > qs) { GNUNET_break (GNUNET_DB_STATUS_HARD_ERROR == qs); @@ -91,9 +88,8 @@ TAH_ROW_MINOR_INCONSISTENCIES_handler_put ( struct GNUNET_JSON_Specification spec[] = { -GNUNET_JSON_spec_fixed_auto("row_table", &dc.row_table), -GNUNET_JSON_spec_fixed_auto("diagnostic", &dc.diagnostic), -GNUNET_JSON_spec_bool("suppressed", &dc.suppressed), + GNUNET_JSON_spec_fixed_auto ("row_table", &dc.row_table), + GNUNET_JSON_spec_fixed_auto ("diagnostic", &dc.diagnostic), GNUNET_JSON_spec_end () @@ -157,5 +153,3 @@ TEAH_ROW_MINOR_INCONSISTENCIES_PUT_done (void) { } - -
\ No newline at end of file |