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: benchmark: don't pr


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: benchmark: don't print result as exchange worker
Date: Thu, 02 May 2019 23:45:40 +0200

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

dold pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 5dd3c219 benchmark: don't print result as exchange worker
5dd3c219 is described below

commit 5dd3c2191af0bb28a95fe4dac09eae7ed672cd48
Author: Florian Dold <address@hidden>
AuthorDate: Thu May 2 23:45:31 2019 +0200

    benchmark: don't print result as exchange worker
---
 src/benchmark/taler-exchange-benchmark.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/benchmark/taler-exchange-benchmark.c 
b/src/benchmark/taler-exchange-benchmark.c
index eed8f80d..56928351 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -1048,8 +1048,14 @@ main (int argc,
                                NULL,
                                cfg_filename,
                                exchange_url);
+
   GNUNET_free_non_null (exchange_url);
   GNUNET_free_non_null (auditor_url);
+
+  /* If we're the exchange worker, we're done now.  No need to print results */
+  if (MODE_EXCHANGE == mode)
+    return (GNUNET_OK == result) ? 0 : result;
+
   duration = GNUNET_TIME_absolute_get_duration (start_time);
   if (GNUNET_OK == result)
   {

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



reply via email to

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