Statistics fixes.
[silc.git] / apps / silcd / server_util.c
index 890844ec71f815bde7e68e368fee7e20fe3fae27..399f5388f97936aa550e91e97864967abeb84314 100644 (file)
@@ -624,7 +624,7 @@ void silc_server_remove_channels_by_server(SilcServer server,
   SilcIDCacheEntry id_cache = NULL;
   SilcChannelEntry channel = NULL;
 
-  SILC_LOG_DEBUG(("Start"));
+  SILC_LOG_DEBUG(("Removing channels by server"));
 
   if (silc_idcache_get_all(server->global_list->channels, &list)) {
     if (silc_idcache_list_first(list, &id_cache)) {
@@ -650,7 +650,7 @@ void silc_server_update_channels_by_server(SilcServer server,
   SilcIDCacheEntry id_cache = NULL;
   SilcChannelEntry channel = NULL;
 
-  SILC_LOG_DEBUG(("Start"));
+  SILC_LOG_DEBUG(("Updating channels by server"));
 
   if (silc_idcache_get_all(server->global_list->channels, &list)) {
     if (silc_idcache_list_first(list, &id_cache)) {
@@ -1160,7 +1160,7 @@ void silc_server_send_connect_notifys(SilcServer server,
                             server->stat.my_clients, 
                             server->stat.my_channels,
                             server->stat.my_servers,
-                            server->stat.my_routers));
+                            server->stat.my_routers + 1));
   } else {
     SILC_SERVER_SEND_NOTIFY(server, sock, SILC_NOTIFY_TYPE_NONE,
                            ("I have %d clients and %d channels formed",