projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67431e0
)
Corrected used of silc_file_readfile.
author
Pekka Riikonen
<priikone@silcnet.org>
Thu, 17 Oct 2002 16:22:35 +0000
(16:22 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Thu, 17 Oct 2002 16:22:35 +0000
(16:22 +0000)
apps/silcd/packet_send.c
patch
|
blob
|
history
diff --git
a/apps/silcd/packet_send.c
b/apps/silcd/packet_send.c
index 0e6e7b07897f69ace40e115691472a6500cade7d..e51506acc27f757acc4f80ebf8a0f04580d45e09 100644
(file)
--- a/
apps/silcd/packet_send.c
+++ b/
apps/silcd/packet_send.c
@@
-1048,6
+1048,7
@@
void silc_server_send_motd(SilcServer server,
if (!motd)
return;
+ motd[motd_len] = 0;
silc_server_send_notify(server, sock, FALSE, SILC_NOTIFY_TYPE_MOTD, 1,
motd, motd_len);
silc_free(motd);