projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates.
[silc.git]
/
lib
/
silccore
/
silcpayload.c
diff --git
a/lib/silccore/silcpayload.c
b/lib/silccore/silcpayload.c
index e3104ada8515d5e4d1cd6a8fbb1093131c2cf8f4..1dc8f830c5d805d6be6614523074b946183d3ffd 100644
(file)
--- a/
lib/silccore/silcpayload.c
+++ b/
lib/silccore/silcpayload.c
@@
-175,7
+175,7
@@
SilcBuffer silc_id_payload_encode(void *id, SilcIdType type)
type == SILC_ID_SERVER ? "Server" : "Channel"));
id_data = silc_id_id2str(id, type);
- len = silc_id_get_len(type);
+ len = silc_id_get_len(
id,
type);
buffer = silc_buffer_alloc(4 + len);
silc_buffer_pull_tail(buffer, SILC_BUFFER_END(buffer));