Fix a typo on the Documentation web page.
[paraslash.git] / stat.c
diff --git a/stat.c b/stat.c
index 0457a0f3dc689139179f9a5495e110b6a260f8f3..f54858a03c4226784304291eebde2ba7a5acc453 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2005-2008 Andre Noll <maan@systemlinux.org>
  *
  * Licensed under the GPL v2. For licencing details see COPYING.
  */
@@ -125,7 +125,8 @@ void stat_client_write(const char *msg, int itemnum)
                free(sc);
                dump_stat_client_list();
        }
-       PARA_DEBUG_LOG("%d client(s)\n", num_clients);
+       if (num_clients)
+               PARA_DEBUG_LOG("%d client(s)\n", num_clients);
 }
 
 /**