summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-01-13 23:51:01 +0100
committerFlorian Dold <florian.dold@gmail.com>2020-01-13 23:51:16 +0100
commit87aa8b54cc10301b6c03572962bae3c2d5a47bb0 (patch)
tree2db0b1e02ddf21f3b84a0f9bc3a19025e240de1a /src/lib
parentd3557e53832883b8bf366a4ea33dcaf3d7af6b79 (diff)
downloadexchange-87aa8b54cc10301b6c03572962bae3c2d5a47bb0.tar.gz
exchange-87aa8b54cc10301b6c03572962bae3c2d5a47bb0.tar.bz2
exchange-87aa8b54cc10301b6c03572962bae3c2d5a47bb0.zip
properly initialize wtid in test
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/test_bank_api.c2
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);