commit 41acb843c40c3c26266d430136024b9f29151e35
parent d52b2b0c7ff423ba84f94f53affd6ec793469807
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Mon, 17 Dec 2018 15:32:38 +0100
Fix sloppy flow.
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/merchant-tools/taler-merchant-benchmark.c b/src/merchant-tools/taler-merchant-benchmark.c
@@ -516,14 +516,20 @@ run (void *cls,
TALER_TESTING_cmd_end ()
};
-
if (GNUNET_OK == ordinary)
+ {
TALER_TESTING_run (is,
ordinary_commands);
+ return;
+ }
if (GNUNET_OK == corner)
+ {
TALER_TESTING_run (is,
corner_commands);
+ return;
+ }
+
TALER_LOG_ERROR ("Neither ordinary or corner payments"
" were specified to be run.\n");