gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: fix


From: gnunet
Subject: [taler-exchange] branch master updated: fix
Date: Sat, 23 Nov 2019 21:38:12 +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 4c42e792 fix
4c42e792 is described below

commit 4c42e7924e8705ab94c6dd2eab3ec8742fa9acc5
Author: Christian Grothoff <address@hidden>
AuthorDate: Sat Nov 23 21:38:09 2019 +0100

    fix
---
 src/exchange/taler-exchange-httpd_deposit.c          | 4 ++--
 src/exchange/taler-exchange-httpd_payback.c          | 2 +-
 src/exchange/taler-exchange-httpd_refresh_melt.c     | 2 +-
 src/exchange/taler-exchange-httpd_refresh_reveal.c   | 2 +-
 src/exchange/taler-exchange-httpd_refund.c           | 2 +-
 src/exchange/taler-exchange-httpd_reserve_withdraw.c | 2 +-
 6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/exchange/taler-exchange-httpd_deposit.c 
b/src/exchange/taler-exchange-httpd_deposit.c
index 28116e28..23a97fb1 100644
--- a/src/exchange/taler-exchange-httpd_deposit.c
+++ b/src/exchange/taler-exchange-httpd_deposit.c
@@ -304,8 +304,8 @@ verify_and_execute_deposit (struct MHD_Connection 
*connection,
   {
     TEH_KS_release (mks);
     return TALER_MHD_reply_with_error (connection,
-                                       ec,
                                        hc,
+                                       ec,
                                        "Could not find denomination key used 
in deposit");
   }
   TALER_amount_ntoh (&dc.value,
@@ -527,8 +527,8 @@ TEH_DEPOSIT_handler_deposit (struct TEH_RequestHandler *rh,
     TALER_LOG_WARNING ("Unknown denomination key in /deposit request\n");
     GNUNET_JSON_parse_free (spec);
     return TALER_MHD_reply_with_error (connection,
-                                       ec,
                                        hc,
+                                       ec,
                                        "Could not find denomination key used 
in deposit");
   }
   TALER_amount_ntoh (&deposit.deposit_fee,
diff --git a/src/exchange/taler-exchange-httpd_payback.c 
b/src/exchange/taler-exchange-httpd_payback.c
index f5f315be..b7fe593d 100644
--- a/src/exchange/taler-exchange-httpd_payback.c
+++ b/src/exchange/taler-exchange-httpd_payback.c
@@ -449,8 +449,8 @@ verify_and_execute_payback (struct MHD_Connection 
*connection,
     TALER_LOG_WARNING (
       "Denomination key in /payback request not in payback mode\n");
     return TALER_MHD_reply_with_error (connection,
-                                       ec,
                                        hc,
+                                       ec,
                                        "denomination not allowing payback");
   }
   TALER_amount_ntoh (&pc.value,
diff --git a/src/exchange/taler-exchange-httpd_refresh_melt.c 
b/src/exchange/taler-exchange-httpd_refresh_melt.c
index 20e78845..71f1a614 100644
--- a/src/exchange/taler-exchange-httpd_refresh_melt.c
+++ b/src/exchange/taler-exchange-httpd_refresh_melt.c
@@ -585,8 +585,8 @@ TEH_REFRESH_handler_refresh_melt (struct TEH_RequestHandler 
*rh,
   {
     TALER_LOG_WARNING ("Unknown denomination key in /refresh/melt request\n");
     res = TALER_MHD_reply_with_error (connection,
-                                      ec,
                                       hc,
+                                      ec,
                                       "unknown denomination");
     goto cleanup;
   }
diff --git a/src/exchange/taler-exchange-httpd_refresh_reveal.c 
b/src/exchange/taler-exchange-httpd_refresh_reveal.c
index 5276a105..97e687ea 100644
--- a/src/exchange/taler-exchange-httpd_refresh_reveal.c
+++ b/src/exchange/taler-exchange-httpd_refresh_reveal.c
@@ -645,8 +645,8 @@ handle_refresh_reveal_json (struct MHD_Connection 
*connection,
       {
         TEH_KS_release (key_state);
         return TALER_MHD_reply_with_error (connection,
-                                           ec,
                                            hc,
+                                           ec,
                                            "failed to find denomination key");
       }
       GNUNET_assert (NULL != dkis[i]->denom_priv.rsa_private_key);
diff --git a/src/exchange/taler-exchange-httpd_refund.c 
b/src/exchange/taler-exchange-httpd_refund.c
index 5b0d4ca5..6a96ff98 100644
--- a/src/exchange/taler-exchange-httpd_refund.c
+++ b/src/exchange/taler-exchange-httpd_refund.c
@@ -372,8 +372,8 @@ refund_transaction (void *cls,
     TEH_plugin->free_coin_transaction_list (TEH_plugin->cls,
                                             tl);
     *mhd_ret = TALER_MHD_reply_with_error (connection,
-                                           ec,
                                            hc,
+                                           ec,
                                            "denomination not found, but coin 
known");
     return GNUNET_DB_STATUS_HARD_ERROR;
   }
diff --git a/src/exchange/taler-exchange-httpd_reserve_withdraw.c 
b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
index 120a1e86..2b4d2b93 100644
--- a/src/exchange/taler-exchange-httpd_reserve_withdraw.c
+++ b/src/exchange/taler-exchange-httpd_reserve_withdraw.c
@@ -429,8 +429,8 @@ TEH_RESERVE_handler_reserve_withdraw (struct 
TEH_RequestHandler *rh,
     GNUNET_JSON_parse_free (spec);
     TEH_KS_release (wc.key_state);
     return TALER_MHD_reply_with_error (connection,
-                                       ec,
                                        hc,
+                                       ec,
                                        "could not find denomination key");
   }
   GNUNET_assert (NULL != wc.dki->denom_priv.rsa_private_key);

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]