gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: fix format string issues


From: gnunet
Subject: [taler-exchange] branch master updated: fix format string issues
Date: Tue, 13 Oct 2020 12:34:59 +0200

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 d363e2bc fix format string issues
d363e2bc is described below

commit d363e2bc76b23dc9fd1ea145f91081096c46189f
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Tue Oct 13 12:34:57 2020 +0200

    fix format string issues
---
 src/benchmark/taler-exchange-benchmark.c | 3 ++-
 src/exchange/taler-exchange-httpd.c      | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/benchmark/taler-exchange-benchmark.c 
b/src/benchmark/taler-exchange-benchmark.c
index 537399ae..08c701fd 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -381,7 +381,8 @@ run (void *cls,
       wl = add_label (withdraw_label);
       GNUNET_asprintf (&order_enc,
                        "{\"nonce\": %llu}",
-                       i + (howmany_coins * j));
+                       ((unsigned long long) i) + (howmany_coins
+                                                   * (unsigned long long) j));
       unit[0] =
         TALER_TESTING_cmd_withdraw_with_retry
           (TALER_TESTING_cmd_withdraw_amount (wl,
diff --git a/src/exchange/taler-exchange-httpd.c 
b/src/exchange/taler-exchange-httpd.c
index bc6ab23b..98120a22 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -897,7 +897,7 @@ write_stats (void)
   if (NULL == benchmark_dir)
     return;
   GNUNET_asprintf (&s,
-                   "%s/taler-exchange-%llu-%llu.txt",
+                   "%s/taler-exchange-%llu.txt",
                    benchmark_dir,
                    (unsigned long long) pid);
   fh = GNUNET_DISK_file_open (s,

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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