getting legacy code to build

This commit is contained in:
Christian Grothoff 2020-01-12 18:19:18 +01:00
parent 6a4cc07978
commit 44460a3147
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1,6 +1,6 @@
/* /*
This file is part of TALER This file is part of TALER
(C) 2016, 2017, 2018 Taler Systems SA (C) 2016-2020 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software terms of the GNU General Public License as published by the Free Software
@ -120,7 +120,7 @@ struct Command
/** /**
* Subject of the transfer, set by the command. * Subject of the transfer, set by the command.
*/ */
char *subject; struct TALER_WireTransferIdentifierRawP wtid;
} expect_transaction; } expect_transaction;
@ -590,13 +590,15 @@ interpreter (void *cls)
return; return;
} }
if (GNUNET_OK != if (GNUNET_OK !=
TALER_FAKEBANK_check (fb, TALER_FAKEBANK_check_debit (fb,
&want_amount, &want_amount,
cmd->details.expect_transaction.debit_account, cmd->details.expect_transaction.
cmd->details.expect_transaction.credit_account, debit_account,
cmd->details.expect_transaction. cmd->details.expect_transaction.
exchange_base_url, credit_account,
&cmd->details.expect_transaction.subject)) cmd->details.expect_transaction.
exchange_base_url,
&cmd->details.expect_transaction.wtid))
{ {
fail (cmd); fail (cmd);
return; return;