gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: minor cleanup


From: gnunet
Subject: [taler-exchange] branch master updated: minor cleanup
Date: Tue, 03 Mar 2020 19:10:42 +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 a3013d9e minor cleanup
a3013d9e is described below

commit a3013d9e3d26daf9f5df39046c6a9bc0dc45603b
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Mar 3 19:10:40 2020 +0100

    minor cleanup
---
 src/bank-lib/fakebank.c | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/bank-lib/fakebank.c b/src/bank-lib/fakebank.c
index 74d6b9a6..dfe3ada8 100644
--- a/src/bank-lib/fakebank.c
+++ b/src/bank-lib/fakebank.c
@@ -344,8 +344,8 @@ TALER_FAKEBANK_check_credit (struct TALER_FAKEBANK_Handle 
*h,
  * @param exchange_base_url exchange URL
  * @param request_uid unique number to make the request unique, or NULL to 
create one
  * @param[out] ret_row_id pointer to store the row ID of this transaction
- * @return GNUNET_YES if the transfer was successful,
- *         GNUNET_SYSERR if the request_uid was reused for a different transfer
+ * @return #GNUNET_YES if the transfer was successful,
+ *         #GNUNET_SYSERR if the request_uid was reused for a different 
transfer
  */
 int
 TALER_FAKEBANK_make_transfer (struct TALER_FAKEBANK_Handle *h,
@@ -638,6 +638,7 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h,
     {
       GNUNET_break (0);
       json_decref (json);
+      /* We're fakebank, no need for nice error handling */
       return MHD_NO;
     }
     debit = TALER_xtalerbank_account_from_payto (debit_account);
@@ -662,8 +663,9 @@ handle_admin_add_incoming (struct TALER_FAKEBANK_Handle *h,
                                     "{s:I, s:o}",
                                     "row_id",
                                     (json_int_t) row_id,
-                                    "timestamp", GNUNET_JSON_from_time_abs (
-                                      GNUNET_TIME_UNIT_ZERO_ABS));             
                          /*dummy tmp */
+                                    "timestamp",
+                                    GNUNET_JSON_from_time_abs (
+                                      GNUNET_TIME_UNIT_ZERO_ABS));
 }
 
 
@@ -740,6 +742,7 @@ handle_transfer (struct TALER_FAKEBANK_Handle *h,
     {
       GNUNET_break (0);
       json_decref (json);
+      /* We are fakebank, no need for nice error handling */
       return MHD_NO;
     }
     {
@@ -864,7 +867,7 @@ struct HistoryArgs
  *
  * @param connection MHD connection.
  * @param[out] ha will contain the parsed values.
- * @return GNUNET_OK only if the parsing succeedes.
+ * @return #GNUNET_OK only if the parsing succeedes.
  */
 static int
 parse_history_common_args (struct MHD_Connection *connection,

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



reply via email to

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