Fixed Remove Channel User payload parsing.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 14 Feb 2001 20:20:54 +0000 (20:20 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 14 Feb 2001 20:20:54 +0000 (20:20 +0000)
CHANGES
apps/silcd/packet_receive.c

diff --git a/CHANGES b/CHANGES
index 62c32f5276724c4c5905a4f6ebc0ce1a667fd101..f30ed095dbfacc158d36f80ea0e9cb984ef552bd 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -34,6 +34,9 @@ Wed Feb 14 16:03:25 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
          not check whether the client was locally connected or not.  It
          does that now.  Fixed a bug related to LEAVE command.
 
+       * Fixed Remove Channel User payload parsing bug in server's
+         silcd/packet_receive.c.  Fixed a bug related to LEAVE command.
+
 Tue Feb 13 19:55:59 EET 2001  Pekka Riikonen <priikone@poseidon.pspt.fi>
 
        * Added --with-gmp configuration option.  If set the GMP
index 81938177f4f08b9597ddcbd9238ea958280eeb5b..c3978f7004a692937db87209c1129234bfa866f3 100644 (file)
@@ -788,7 +788,7 @@ void silc_server_remove_channel_user(SilcServer server,
 {
   SilcBuffer buffer = packet->buffer;
   unsigned char *tmp1 = NULL, *tmp2 = NULL;
-  unsigned int tmp1_len, tmp2_len;
+  unsigned short tmp1_len, tmp2_len;
   SilcClientID *client_id = NULL;
   SilcChannelID *channel_id = NULL;
   SilcChannelEntry channel;