Drop payto params before preparing the wire transfer.
This commit is contained in:
parent
022fba51d5
commit
2e8d4e802b
@ -1 +1 @@
|
|||||||
Subproject commit b4afa5a86e4317cf8b9d2868e8e509e261c54281
|
Subproject commit 82ff6a36db88799cf6f658bd8855cefa5306c06d
|
@ -401,6 +401,7 @@ execute_wire_transfer ()
|
|||||||
struct TALER_WireTransferIdentifierRawP wtid;
|
struct TALER_WireTransferIdentifierRawP wtid;
|
||||||
void *buf;
|
void *buf;
|
||||||
size_t buf_size;
|
size_t buf_size;
|
||||||
|
char *params;
|
||||||
|
|
||||||
if (NULL != debit_account)
|
if (NULL != debit_account)
|
||||||
{
|
{
|
||||||
@ -435,6 +436,10 @@ execute_wire_transfer ()
|
|||||||
&wtid,
|
&wtid,
|
||||||
sizeof (wtid));
|
sizeof (wtid));
|
||||||
}
|
}
|
||||||
|
params = strchr (credit_account,
|
||||||
|
(unsigned char) '&');
|
||||||
|
if (NULL != params)
|
||||||
|
params = '\0';
|
||||||
TALER_BANK_prepare_transfer (credit_account,
|
TALER_BANK_prepare_transfer (credit_account,
|
||||||
&amount,
|
&amount,
|
||||||
"http://exchange.example.com/",
|
"http://exchange.example.com/",
|
||||||
|
Loading…
Reference in New Issue
Block a user