fix if-else logical error.

This commit is contained in:
Marcello Stanisci 2018-05-11 15:36:48 +02:00
parent 80ffdb45dc
commit 6a0be254cc
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -210,7 +210,8 @@ check_bank_transfer_traits (void *cls,
&bcs->wtid,
sizeof (struct TALER_WireTransferIdentifierRawP)))
wtid_ptr = NULL;
wtid_ptr = &bcs->wtid;
else
wtid_ptr = &bcs->wtid;
struct TALER_TESTING_Trait traits[] = {
TALER_TESTING_make_trait_transfer_subject (0, bcs->subject),