projects
/
crypto.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implemented KICK command
[crypto.git]
/
lib
/
silccore
/
id.c
diff --git
a/lib/silccore/id.c
b/lib/silccore/id.c
index 51e69badd0f189a7242095ed408d569ae28c4d3d..7cb854fc21e985784e1641a7142a85156d10923c 100644
(file)
--- a/
lib/silccore/id.c
+++ b/
lib/silccore/id.c
@@
-139,4
+139,5
@@
void *silc_id_dup(void *id, SilcIdType type)
int len = silc_id_get_len(type);
void *new = silc_calloc(1, len);
memcpy(new, id, len);
+ return new;
}