diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-11 15:36:48 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-05-11 15:36:48 +0200 |
commit | 6a0be254cc7a630da2f508119573338245277e56 (patch) | |
tree | a0b38cd077308e51b4b3b13859b13cdf5d40bda1 /src/exchange-lib | |
parent | 80ffdb45dce7ba3f12b626d3ddb7cf96e5c5805d (diff) |
fix if-else logical error.
Diffstat (limited to 'src/exchange-lib')
-rw-r--r-- | src/exchange-lib/testing_api_cmd_bank_check.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange-lib/testing_api_cmd_bank_check.c b/src/exchange-lib/testing_api_cmd_bank_check.c index 2b471eed7..6d1d3c143 100644 --- a/src/exchange-lib/testing_api_cmd_bank_check.c +++ b/src/exchange-lib/testing_api_cmd_bank_check.c @@ -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), |