Initial client library rewrite, connects to remote server already.
[silc.git] / lib / silcclient / client_notify.c
index eb1f97edb9d95bcb1bae370c21cbeba5946468a0..004d4331c546d3419ae7fc11c2d4f38e6b43ea5e 100644 (file)
@@ -4,7 +4,7 @@
 
   Author: Pekka Riikonen <priikone@silcnet.org>
 
-  Copyright (C) 1997 - 2005 Pekka Riikonen
+  Copyright (C) 1997 - 2006 Pekka Riikonen
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 
 */
 /* $Id$ */
-/* This file includes the Notify packet handling. Notify packets are
-   important packets sent by the server. They tell different things to the
-   client such as nick changes, mode changes etc. */
 
-#include "silcincludes.h"
+#include "silc.h"
 #include "silcclient.h"
 #include "client_internal.h"
 
@@ -826,7 +823,7 @@ void silc_client_notify_by_server(SilcClient client,
       /* Get the hmac */
       hmac = silc_argument_get_arg_type(args, 4, &tmp_len);
       if (hmac) {
-       unsigned char hash[32];
+       unsigned char hash[SILC_HASH_MAXLEN];
 
        if (channel->hmac)
          silc_hmac_free(channel->hmac);
@@ -1369,7 +1366,7 @@ void silc_client_notify_by_server(SilcClient client,
        * Received notify about some client we are watching
        */
       SilcNotifyType notify = 0;
-      bool del_client = FALSE;
+      SilcBool del_client = FALSE;
       unsigned char *pk;
       SilcUInt32 pk_len;
       SilcPublicKey public_key = NULL;