aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-06-16 01:55:49 +0200
committerChristian Grothoff <christian@grothoff.org>2019-06-16 01:55:49 +0200
commitb3cbe01079ea1044f8d1f8bf47e995443efe8390 (patch)
treeef9ea26f0f50e4de3f99c527f824fd28479f7ca0 /src
parentcec1a9785e255fb8031dc0f34b7536edec03702b (diff)
fix NPE
Diffstat (limited to 'src')
-rw-r--r--src/wire/payto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wire/payto.c b/src/wire/payto.c
index 2b5caf32c..8c62d86ee 100644
--- a/src/wire/payto.c
+++ b/src/wire/payto.c
@@ -489,8 +489,8 @@ parse_payto_x_taler_bank (const char *account_url,
"https://%s",
r_account->details.x_taler_bank.hostname));
}
+ r_account->type = TALER_PAC_X_TALER_BANK;
}
- r_account->type = TALER_PAC_X_TALER_BANK;
return TALER_EC_NONE;
}