diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-19 11:43:05 +0100 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-12-19 11:43:05 +0100 |
commit | 9c82290a1a472008f646a00a1ae802476188783c (patch) | |
tree | b7219b342384e16bb29fb7ebb505a48ae2836dd0 /src/bank-lib/testing_api_cmd_history.c | |
parent | b22b36a20bef3ad4b55e78a18fdedff15c1e5b54 (diff) | |
download | exchange-9c82290a1a472008f646a00a1ae802476188783c.tar.xz |
#5459
Diffstat (limited to 'src/bank-lib/testing_api_cmd_history.c')
-rw-r--r-- | src/bank-lib/testing_api_cmd_history.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bank-lib/testing_api_cmd_history.c b/src/bank-lib/testing_api_cmd_history.c index c60f6a13d..6070d0ae3 100644 --- a/src/bank-lib/testing_api_cmd_history.c +++ b/src/bank-lib/testing_api_cmd_history.c @@ -793,7 +793,6 @@ TALER_TESTING_cmd_bank_history long long num_results) { struct HistoryState *hs; - struct TALER_TESTING_Command cmd; hs = GNUNET_new (struct HistoryState); hs->bank_url = bank_url; @@ -803,11 +802,13 @@ TALER_TESTING_cmd_bank_history hs->num_results = num_results; hs->ascending = ascending; - cmd.label = label; - cmd.cls = hs; - cmd.run = &history_run; - cmd.cleanup = &history_cleanup; - cmd.traits = &history_traits; + struct TALER_TESTING_Command cmd = { + .label = label, + .cls = hs, + .run = &history_run, + .cleanup = &history_cleanup, + .traits = &history_traits + }; return cmd; } |