updates.
[silc.git] / apps / silcd / idlist.c
index e973a1d6d2bd09d66191b7ba30d410caa877c5a1..4e5f5272a8c7305dcd7bfc7b2936b7a566d9d3de 100644 (file)
@@ -144,6 +144,8 @@ silc_idlist_find_server_by_id(SilcIDList id_list, SilcServerID *id,
   if (ret_entry)
     *ret_entry = id_cache;
 
+  SILC_LOG_DEBUG(("Found"));
+
   return server;
 }
 
@@ -502,7 +504,7 @@ silc_idlist_replace_client_id(SilcIDList id_list, SilcClientID *old_id,
 
   /* Remove the old entry and add a new one */
 
-  silc_idcache_del_by_id(id_list->clients, (void *)client->id);
+  silc_idcache_del_by_context(id_list->clients, client);
 
   silc_free(client->id);
   client->id = new_id;