From: Pekka Riikonen Date: Tue, 7 Aug 2007 18:12:38 +0000 (+0000) Subject: Fixed decoding to use correct size integers. X-Git-Url: http://git.silcnet.org/gitweb/?p=silc.git;a=commitdiff_plain;h=d85c5a153fd14db1f87370e29430a37a95aa9fbe Fixed decoding to use correct size integers. --- diff --git a/lib/silcclient/command_reply.c b/lib/silcclient/command_reply.c index 61e4d73a..4289aa86 100644 --- a/lib/silcclient/command_reply.c +++ b/lib/silcclient/command_reply.c @@ -1208,7 +1208,6 @@ SILC_FSM_STATE(silc_client_command_reply_join) /* Add clients we received in the reply to the channel */ for (i = 0; i < list_count; i++) { SilcUInt16 idp_len; - SilcUInt32 mode; SilcID id; SilcClientEntry client_entry; @@ -1851,8 +1850,8 @@ SILC_FSM_STATE(silc_client_command_reply_users) SilcCommandPayload payload = state_context; SilcArgumentPayload args = silc_command_get_args(payload); unsigned char *tmp; - SilcUInt32 tmp_len, list_count; - SilcUInt16 idp_len, mode; + SilcUInt32 tmp_len, list_count, mode; + SilcUInt16 idp_len; SilcHashTableList htl; SilcBufferStruct client_id_list, client_mode_list; SilcChannelEntry channel = NULL;