From d74e6d06434f195a7307497e4e0283185491264a Mon Sep 17 00:00:00 2001 From: Phil Date: Fri, 10 Aug 2018 23:50:40 +0200 Subject: [PATCH] fix identity rename --- src/identity/gnunet-service-identity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.25.1