[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -indent
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -indent |
Date: |
Fri, 20 Jan 2023 15:20:54 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new c7826152 -indent
c7826152 is described below
commit c78261526257dbc78e824320ef7887ff7a0f3ef6
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Fri Jan 20 15:20:51 2023 +0100
-indent
---
src/exchange/taler-exchange-httpd_aml-decision.c | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/exchange/taler-exchange-httpd_aml-decision.c
b/src/exchange/taler-exchange-httpd_aml-decision.c
index 0526e79d..c93c1066 100644
--- a/src/exchange/taler-exchange-httpd_aml-decision.c
+++ b/src/exchange/taler-exchange-httpd_aml-decision.c
@@ -30,7 +30,6 @@
#include "taler-exchange-httpd_responses.h"
-
MHD_RESULT
TEH_handler_management_post_aml_decision (
struct MHD_Connection *connection,
@@ -45,6 +44,7 @@ TEH_handler_management_post_aml_decision (
struct TALER_AmlOfficerPublicKeyP officer_pub;
struct TALER_AmlOfficerSignatureP officer_sig;
struct GNUNET_JSON_Specification spec[] = {
+ // FIXME: officer_pub is in URL path, not in JSON body!
GNUNET_JSON_spec_fixed_auto ("officer_pub",
&officer_pub),
GNUNET_JSON_spec_fixed_auto ("officer_sig",
@@ -120,21 +120,21 @@ TEH_handler_management_post_aml_decision (
if (invalid_officer)
{
return TALER_MHD_reply_with_error (
- connection,
- MHD_HTTP_FORBIDDEN,
-
TALER_EC_EXCHANGE_AML_DECISION_INVALID_OFFICER,
- NULL);
- }
+ connection,
+ MHD_HTTP_FORBIDDEN,
+ TALER_EC_EXCHANGE_AML_DECISION_INVALID_OFFICER,
+ NULL);
+ }
if (GNUNET_TIME_timestamp_cmp (last_date,
>,
validity_start))
{
GNUNET_break_op (0);
return TALER_MHD_reply_with_error (
- connection,
- MHD_HTTP_CONFLICT,
-
TALER_EC_EXCHANGE_AML_DECISION_MORE_RECENT_PRESENT,
- NULL);
+ connection,
+ MHD_HTTP_CONFLICT,
+ TALER_EC_EXCHANGE_AML_DECISION_MORE_RECENT_PRESENT,
+ NULL);
}
}
return TALER_MHD_reply_static (
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -indent,
gnunet <=