aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing_api_cmd_withdraw.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-15 22:33:49 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-15 22:33:49 +0200
commitcd5fafffe22608d3d9ec6c620417ecdbd6c076d3 (patch)
tree02d04097ef86ec334b387e320809cf27e3d3d1f1 /src/testing/testing_api_cmd_withdraw.c
parent5b14fd547e0f1497d62cdc92c27af9ddf19b6105 (diff)
-get taler-exchange-benchmark to work
Diffstat (limited to 'src/testing/testing_api_cmd_withdraw.c')
-rw-r--r--src/testing/testing_api_cmd_withdraw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing_api_cmd_withdraw.c b/src/testing/testing_api_cmd_withdraw.c
index 2550e55a..cf0b4998 100644
--- a/src/testing/testing_api_cmd_withdraw.c
+++ b/src/testing/testing_api_cmd_withdraw.c
@@ -349,7 +349,8 @@ withdraw_run (void *cls,
const struct TALER_TESTING_Command *create_reserve;
const struct TALER_EXCHANGE_DenomPublicKey *dpk;
- ws->cmd = cmd;
+ if (NULL != cmd)
+ ws->cmd = cmd;
ws->is = is;
create_reserve
= TALER_TESTING_interpreter_lookup_command (