aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/stats/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/stats/functions.c')
-rw-r--r--src/plugins/stats/functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/stats/functions.c b/src/plugins/stats/functions.c
index 9a4dabb1..143860e7 100644
--- a/src/plugins/stats/functions.c
+++ b/src/plugins/stats/functions.c
@@ -492,7 +492,7 @@ updateDaemonStatus (void *cls)
492{ 492{
493 struct UpdateClosure *uc = cls; 493 struct UpdateClosure *uc = cls;
494 unsigned long long connected_peers; 494 unsigned long long connected_peers;
495 495
496 if (uc->is_running) 496 if (uc->is_running)
497 { 497 {
498 if (GNUNET_OK != 498 if (GNUNET_OK !=
@@ -501,7 +501,7 @@ updateDaemonStatus (void *cls)
501 GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS_UNKNOWN, 0); 501 GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS_UNKNOWN, 0);
502 else if (connected_peers > 0) 502 else if (connected_peers > 0)
503 GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS_CONNECTED, 503 GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS_CONNECTED,
504 connected_peers); 504 connected_peers);
505 else 505 else
506 GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS_DISCONNECTED, 0); 506 GNUNET_GTK_display_daemon_status (GNUNET_GTK_STATUS_DISCONNECTED, 0);
507 } 507 }