gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-exchange] branch master updated: Addressing #5291.


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: Addressing #5291.
Date: Wed, 27 Jun 2018 16:49:32 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new f033320  Addressing #5291.
f033320 is described below

commit f033320300081607fd8f8861324ea1fc8fa2efd1
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jun 27 16:49:23 2018 +0200

    Addressing #5291.
---
 src/bank-lib/testing_api_cmd_history.c        | 4 ++--
 src/bank-lib/testing_api_cmd_reject.c         | 4 ++--
 src/exchange-lib/exchange_api_handle.c        | 3 +++
 src/exchange-lib/testing_api_cmd_bank_check.c | 8 ++++----
 src/exchange/taler-exchange-httpd_keystate.c  | 1 +
 src/exchangedb/plugin_exchangedb_postgres.c   | 1 +
 6 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/src/bank-lib/testing_api_cmd_history.c 
b/src/bank-lib/testing_api_cmd_history.c
index c9f4960..361315e 100644
--- a/src/bank-lib/testing_api_cmd_history.c
+++ b/src/bank-lib/testing_api_cmd_history.c
@@ -686,7 +686,7 @@ history_cb (void *cls,
  * @param cmd the command to execute.
  * @param is the interpreter state.
  */
-void
+static void
 history_run (void *cls,
              const struct TALER_TESTING_Command *cmd,
              struct TALER_TESTING_Interpreter *is)
@@ -738,7 +738,7 @@ history_run (void *cls,
  * @param cls closure.
  * @param cmd the command which is being cleaned up.
  */
-void
+static void
 history_cleanup
   (void *cls,
    const struct TALER_TESTING_Command *cmd)
diff --git a/src/bank-lib/testing_api_cmd_reject.c 
b/src/bank-lib/testing_api_cmd_reject.c
index b929e26..d2fffb8 100644
--- a/src/bank-lib/testing_api_cmd_reject.c
+++ b/src/bank-lib/testing_api_cmd_reject.c
@@ -94,7 +94,7 @@ reject_cb (void *cls,
  * @param cls closure.
  * @param cmd the command.
  */
-void
+static void
 reject_cleanup
   (void *cls,
    const struct TALER_TESTING_Command *cmd)
@@ -117,7 +117,7 @@ reject_cleanup
  * @param cmd the command to execute.
  * @param is the interpreter state.
  */
-void
+static void
 reject_run (void *cls,
              const struct TALER_TESTING_Command *cmd,
              struct TALER_TESTING_Interpreter *is)
diff --git a/src/exchange-lib/exchange_api_handle.c 
b/src/exchange-lib/exchange_api_handle.c
index 026fa87..811d4bd 100644
--- a/src/exchange-lib/exchange_api_handle.c
+++ b/src/exchange-lib/exchange_api_handle.c
@@ -1131,6 +1131,9 @@ request_keys (struct TALER_EXCHANGE_Handle *exchange)
   {
     char *arg;
 
+    GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+                "Doing cherry-picking\n");
+
     GNUNET_asprintf (&arg,
                     "/keys?last_issue_date=%llu",
                     (unsigned long long) 
exchange->key_data.last_denom_issue_date.abs_value_us / 1000000LLU);
diff --git a/src/exchange-lib/testing_api_cmd_bank_check.c 
b/src/exchange-lib/testing_api_cmd_bank_check.c
index b4f5fff..8bfb12b 100644
--- a/src/exchange-lib/testing_api_cmd_bank_check.c
+++ b/src/exchange-lib/testing_api_cmd_bank_check.c
@@ -89,7 +89,7 @@ struct BankCheckState
  * @param cmd the command to execute.
  * @param is the interpreter state.
  */
-void
+static void
 check_bank_transfer_run (void *cls,
                          const struct TALER_TESTING_Command *cmd,
                          struct TALER_TESTING_Interpreter *is)
@@ -178,7 +178,7 @@ check_bank_transfer_run (void *cls,
  * @param cls closure.
  * @param cmd the command which is being cleaned up.
  */
-void
+static void
 check_bank_transfer_cleanup
   (void *cls,
    const struct TALER_TESTING_Command *cmd)
@@ -279,7 +279,7 @@ TALER_TESTING_cmd_check_bank_transfer
  * @param cls closure.
  * @param cmd the command which is being cleaned up.
  */
-void
+static void
 check_bank_empty_cleanup
   (void *cls,
    const struct TALER_TESTING_Command *cmd)
@@ -294,7 +294,7 @@ check_bank_empty_cleanup
  * @param cmd the command to execute.
  * @param is the interpreter state.
  */
-void
+static void
 check_bank_empty_run (void *cls,
                       const struct TALER_TESTING_Command *cmd,
                       struct TALER_TESTING_Interpreter *is)
diff --git a/src/exchange/taler-exchange-httpd_keystate.c 
b/src/exchange/taler-exchange-httpd_keystate.c
index 042773b..409e55b 100644
--- a/src/exchange/taler-exchange-httpd_keystate.c
+++ b/src/exchange/taler-exchange-httpd_keystate.c
@@ -2052,6 +2052,7 @@ TEH_KS_handler_keys (struct TEH_RequestHandler *rh,
                  key_state->krd_array_length,
                  sizeof (struct KeysResponseData),
                  &krd_search_comparator);
+
   if ( (NULL == krd) &&
        (key_state->krd_array_length > 0) )
   {
diff --git a/src/exchangedb/plugin_exchangedb_postgres.c 
b/src/exchangedb/plugin_exchangedb_postgres.c
index e72e96c..f20a887 100644
--- a/src/exchangedb/plugin_exchangedb_postgres.c
+++ b/src/exchangedb/plugin_exchangedb_postgres.c
@@ -2779,6 +2779,7 @@ postgres_get_ready_deposit (void *cls,
                                                 rs);
   if (qs <= 0)
     return qs;
+
   qs = deposit_cb (deposit_cb_cls,
                   serial_id,
                   &merchant_pub,

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



reply via email to

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