aboutsummaryrefslogtreecommitdiff
path: root/src/wire-plugins/plugin_wire_taler-bank.c
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2018-05-11 11:34:00 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2018-05-11 11:34:00 +0200
commit868a0deeccd0a883bbdbd93833b2c7c75338acd5 (patch)
tree6d735218441c37e773d9e0de293b9a56c325b0ba /src/wire-plugins/plugin_wire_taler-bank.c
parent0c2851b88b804b4191d929a63b3746d9747fac26 (diff)
Fix offsetting.
Diffstat (limited to 'src/wire-plugins/plugin_wire_taler-bank.c')
-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)