updates.
[silc.git] / lib / silcclient / idlist.c
index aa5ccc27f22e86c2a4355bd92bb54822f49625b4..eba3cc9eaa395f8c03bf035a0ebb6b6bb4a7f6b9 100644 (file)
@@ -18,7 +18,8 @@
 */
 /* $Id$ */
 
-#include "clientlibincludes.h"
+#include "silcincludes.h"
+#include "silcclient.h"
 #include "client_internal.h"
 
 /******************************************************************************
@@ -722,6 +723,8 @@ static void silc_client_del_channel_foreach(void *key, void *context,
 {
   SilcChannelUser chu = (SilcChannelUser)context;
 
+  SILC_LOG_DEBUG(("Start"));
+
   /* Remove the context from the client's channel hash table as that
      table and channel's user_list hash table share this same context. */
   silc_hash_table_del(chu->client->channels, chu->channel);
@@ -735,6 +738,8 @@ bool silc_client_del_channel(SilcClient client, SilcClientConnection conn,
 {
   bool ret = silc_idcache_del_by_context(conn->channel_cache, channel);
 
+  SILC_LOG_DEBUG(("Start"));
+
   /* Free all client entrys from the users list. The silc_hash_table_free
      will free all the entries so they are not freed at the foreach 
      callback. */