aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wire-plugins/plugin_wire_taler-bank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wire-plugins/plugin_wire_taler-bank.c b/src/wire-plugins/plugin_wire_taler-bank.c
index 743d85b2f..37bb08ea3 100644
--- a/src/wire-plugins/plugin_wire_taler-bank.c
+++ b/src/wire-plugins/plugin_wire_taler-bank.c
@@ -702,7 +702,7 @@ taler_bank_execute_wire_transfer (void *cls,
return NULL;
}
auth.details.basic.password = &auth.details.basic.username[slen];
- slen = strlen (auth.details.basic.username) + 1;
+ slen = strlen (auth.details.basic.password) + 1;
GNUNET_assert (left >= slen);
left -= slen;
if (0 != left)