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: fix use of extern k


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: fix use of extern keyword.
Date: Tue, 27 Feb 2018 19:30:51 +0100

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 ee699ca  fix use of extern keyword.
ee699ca is described below

commit ee699caca2166432c7b542e0c0964a0010207a73
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Feb 27 19:30:31 2018 +0100

    fix use of extern keyword.
---
 src/bank-lib/testing_api_cmd_reject.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/bank-lib/testing_api_cmd_reject.c 
b/src/bank-lib/testing_api_cmd_reject.c
index 9c84b35..0383c10 100644
--- a/src/bank-lib/testing_api_cmd_reject.c
+++ b/src/bank-lib/testing_api_cmd_reject.c
@@ -111,12 +111,12 @@ reject_run (void *cls,
   const struct TALER_TESTING_Command *deposit_cmd;
   const uint64_t *credit_account;
   const uint64_t *row_id;
-  extern struct TALER_BANK_AuthenticationData *AUTHS;
+  extern struct TALER_BANK_AuthenticationData AUTHS[];
 
   deposit_cmd = TALER_TESTING_interpreter_lookup_command
     (is, rs->deposit_reference);
 
-  if (NULL != deposit_cmd)
+  if (NULL == deposit_cmd)
     TALER_TESTING_FAIL (is);
 
   GNUNET_assert
@@ -126,7 +126,8 @@ reject_run (void *cls,
   GNUNET_assert
     (GNUNET_OK == TALER_TESTING_GET_TRAIT_ROW_ID
       (deposit_cmd, &row_id));
-
+  TALER_LOG_INFO ("Account %llu rejects deposit\n",
+                  *credit_account);
   rs->rh = TALER_BANK_reject (is->ctx,
                               rs->bank_url,
                               &AUTHS[*credit_account -1],

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



reply via email to

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