projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f54ff0
)
fix identity rename
author
Phil
<phil.buschmann@tum.de>
Fri, 10 Aug 2018 21:50:40 +0000
(23:50 +0200)
committer
Phil
<phil.buschmann@tum.de>
Fri, 10 Aug 2018 21:50:40 +0000
(23:50 +0200)
src/identity/gnunet-service-identity.c
patch
|
blob
|
history
diff --git
a/src/identity/gnunet-service-identity.c
b/src/identity/gnunet-service-identity.c
index 266f5ccc353e49a4f059cfee31565598f72b0aec..155c49cc52f9cf9aaf75dc8c6b8d9943340581ba 100644
(file)
--- 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)