summaryrefslogtreecommitdiff
path: root/src/benchmark
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-09-10 05:48:34 +0200
committerChristian Grothoff <christian@grothoff.org>2019-09-10 05:49:30 +0200
commitee6d7d75d946f1771d5ddda8d654680aa7e80d32 (patch)
treef02d44bbd4e1f5a465a7279cdd05c4978ff86ee6 /src/benchmark
parent6aa8adede08385c7a602892ecda77825eabfe23a (diff)
downloadexchange-ee6d7d75d946f1771d5ddda8d654680aa7e80d32.tar.gz
exchange-ee6d7d75d946f1771d5ddda8d654680aa7e80d32.tar.bz2
exchange-ee6d7d75d946f1771d5ddda8d654680aa7e80d32.zip
do use main_cb/main_cb_cls
Diffstat (limited to 'src/benchmark')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c
index d106eb55..87b5167b 100644
--- a/src/benchmark/taler-exchange-benchmark.c
+++ b/src/benchmark/taler-exchange-benchmark.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- (C) 2014-2018 Taler Systems SA
+ (C) 2014-2019 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it
under the terms of the GNU Affero General Public License as
@@ -250,6 +250,7 @@ run (void *cls,
char *AMOUNT_4;
char *AMOUNT_1;
+ (void) cls;
GNUNET_asprintf (&AMOUNT_5, "%s:5", currency);
GNUNET_asprintf (&AMOUNT_4, "%s:4", currency);
GNUNET_asprintf (&AMOUNT_1, "%s:1", currency);
@@ -602,8 +603,8 @@ parallel_benchmark (TALER_TESTING_Main main_cb,
logfile);
result = TALER_TESTING_setup
- (run,
- NULL,
+ (main_cb,
+ main_cb_cls,
cfg_filename,
exchanged,
GNUNET_YES);