diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-01-13 23:51:01 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-01-13 23:51:16 +0100 |
commit | 87aa8b54cc10301b6c03572962bae3c2d5a47bb0 (patch) | |
tree | 2db0b1e02ddf21f3b84a0f9bc3a19025e240de1a | |
parent | d3557e53832883b8bf366a4ea33dcaf3d7af6b79 (diff) | |
download | exchange-87aa8b54cc10301b6c03572962bae3c2d5a47bb0.tar.xz |
properly initialize wtid in test
-rw-r--r-- | src/lib/test_bank_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/test_bank_api.c b/src/lib/test_bank_api.c index 9e7236591..0ae77353f 100644 --- a/src/lib/test_bank_api.c +++ b/src/lib/test_bank_api.c @@ -63,6 +63,7 @@ run (void *cls, struct TALER_TESTING_Interpreter *is) { struct TALER_WireTransferIdentifierRawP wtid; + memset (&wtid, 42, sizeof (wtid)); struct TALER_TESTING_Command commands[] = { TALER_TESTING_cmd_bank_credits ("history-0", bc.exchange_account_url, @@ -104,7 +105,6 @@ run (void *cls, TALER_TESTING_cmd_end () }; - memset (&wtid, 42, sizeof (wtid)); GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Bank serves at `%s'\n", bc.bank_url); |