summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil <phil.buschmann@tum.de>2018-08-10 23:50:40 +0200
committerPhil <phil.buschmann@tum.de>2018-08-10 23:50:40 +0200
commitd74e6d06434f195a7307497e4e0283185491264a (patch)
tree78c110922e9f70e698753f60b319ae4161d1abfd
parent0f54ff0768d776d07231418e6370602c3789ee56 (diff)
fix identity rename
-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)