if (ret_entry)
*ret_entry = id_cache;
+ SILC_LOG_DEBUG(("Found"));
+
return server;
}
/* 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;