summaryrefslogtreecommitdiff
path: root/src/identity/gnunet-service-identity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity/gnunet-service-identity.c')
-rw-r--r--src/identity/gnunet-service-identity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/identity/gnunet-service-identity.c b/src/identity/gnunet-service-identity.c
index 266f5ccc3..155c49cc5 100644
--- a/src/identity/gnunet-service-identity.c
+++ b/src/identity/gnunet-service-identity.c
@@ -752,7 +752,7 @@ handle_rename_message (void *cls,
old_name = GNUNET_strdup (old_name_tmp);
GNUNET_STRINGS_utf8_tolower (old_name_tmp, old_name);
new_name = GNUNET_strdup (&old_name_tmp[old_name_len]);
- GNUNET_STRINGS_utf8_tolower (&old_name_tmp[old_name_len], old_name);
+ GNUNET_STRINGS_utf8_tolower (&old_name_tmp[old_name_len], new_name);
/* check if new name is already in use */
for (ego = ego_head; NULL != ego; ego = ego->next)