gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: more wire cleanup, indentation o


From: gnunet
Subject: [taler-exchange] branch master updated: more wire cleanup, indentation only
Date: Sun, 22 Mar 2020 21:27:01 +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 a90ea10d more wire cleanup, indentation only
a90ea10d is described below

commit a90ea10d352489e27e8243c28162360d400fc31c
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Mar 22 21:26:53 2020 +0100

    more wire cleanup, indentation only
---
 src/auditor/taler-helper-auditor-wire.c | 51 +++++++++++++++------------------
 1 file changed, 23 insertions(+), 28 deletions(-)

diff --git a/src/auditor/taler-helper-auditor-wire.c 
b/src/auditor/taler-helper-auditor-wire.c
index 4112ec32..c52ce7a7 100644
--- a/src/auditor/taler-helper-auditor-wire.c
+++ b/src/auditor/taler-helper-auditor-wire.c
@@ -706,24 +706,21 @@ commit (enum GNUNET_DB_QueryStatus qs)
        wa = wa->next)
   {
     GNUNET_assert (0 ==
-                   json_array_append_new (report_account_progress,
-                                          json_pack (
-                                            "{s:s, s:I, s:I, s:I, s:I}",
-                                            "account",
-                                            wa->section_name,
-                                            "start_reserve_in",
-                                            (json_int_t) wa->start_pp.
-                                            last_reserve_in_serial_id,
-                                            "end_reserve_in",
-                                            (json_int_t) wa->pp.
-                                            last_reserve_in_serial_id,
-                                            "start_wire_out",
-                                            (json_int_t) wa->start_pp.
-                                            last_wire_out_serial_id,
-                                            "end_wire_out",
-                                            (json_int_t) wa->pp.
-                                            last_wire_out_serial_id
-                                            ))
+                   json_array_append_new (
+                     report_account_progress,
+                     json_pack (
+                       "{s:s, s:I, s:I, s:I, s:I}",
+                       "account",
+                       wa->section_name,
+                       "start_reserve_in",
+                       (json_int_t) wa->start_pp.last_reserve_in_serial_id,
+                       "end_reserve_in",
+                       (json_int_t) wa->pp.last_reserve_in_serial_id,
+                       "start_wire_out",
+                       (json_int_t) wa->start_pp.last_wire_out_serial_id,
+                       "end_wire_out",
+                       (json_int_t) wa->pp.last_wire_out_serial_id
+                       ))
                    );
     if (GNUNET_DB_STATUS_SUCCESS_ONE_RESULT == wa->qsx)
       qs = TALER_ARL_adb->update_wire_auditor_account_progress (
@@ -1139,7 +1136,7 @@ struct CheckMatchContext
 /**
  * Check if any of the reserve closures match the given wire transfer.
  *
- * @param cls a `struct CheckMatchContext`
+ * @param[in,out] cls a `struct CheckMatchContext`
  * @param key key of @a value in #reserve_closures
  * @param value a `struct ReserveClosure`
  */
@@ -1179,7 +1176,7 @@ check_rc_matches (void *cls,
  *
  * @param cls a `struct WireAccount`
  * @param key unused key
- * @param value the `struct ReserveOutInfo` to TALER_ARL_report
+ * @param value the `struct ReserveOutInfo` to report
  * @return #GNUNET_OK
  */
 static int
@@ -1461,13 +1458,11 @@ conclude_credit_history (void)
 static int
 reserve_in_cb (void *cls,
                uint64_t rowid,
-               const struct
-               TALER_ReservePublicKeyP *reserve_pub,
+               const struct TALER_ReservePublicKeyP *reserve_pub,
                const struct TALER_Amount *credit,
                const char *sender_account_details,
                uint64_t wire_reference,
-               struct GNUNET_TIME_Absolute
-               execution_date)
+               struct GNUNET_TIME_Absolute execution_date)
 {
   struct WireAccount *wa = cls;
   struct ReserveInInfo *rii;
@@ -2115,13 +2110,13 @@ run (void *cls,
   GNUNET_assert (NULL !=
                  (report_row_minor_inconsistencies = json_array ()));
   GNUNET_assert (NULL !=
-                 (report_wire_format_inconsistencies =
-                    json_array ()));
+                 (report_wire_format_inconsistencies
+                    = json_array ()));
   GNUNET_assert (NULL !=
                  (report_row_inconsistencies = json_array ()));
   GNUNET_assert (NULL !=
-                 (report_missattribution_in_inconsistencies =
-                    json_array ()));
+                 (report_missattribution_in_inconsistencies
+                    = json_array ()));
   GNUNET_assert (NULL !=
                  (report_lags = json_array ()));
   GNUNET_assert (NULL !=

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



reply via email to

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