aboutsummaryrefslogtreecommitdiff
path: root/src/bank-lib/bank_api_common.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bank-lib/bank_api_common.c')
-rw-r--r--src/bank-lib/bank_api_common.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bank-lib/bank_api_common.c b/src/bank-lib/bank_api_common.c
index e68ba41b5..738d2a5b8 100644
--- a/src/bank-lib/bank_api_common.c
+++ b/src/bank-lib/bank_api_common.c
@@ -80,13 +80,12 @@ TALER_BANK_make_auth_header_ (const struct TALER_BANK_AuthenticationData *auth)
authh = append (authh,
"X-Taler-Bank-Password",
auth->details.basic.password);
- break;
+ return authh;
}
- return authh;
+ return NULL;
}
-
/**
* Obtain the URL to use for an API request.
*