src/rrd_daemon.c: Don't return TRUE in `tree_callback_flush'.
authorFlorian Forster <octo@verplant.org>
Wed, 2 Jul 2008 20:20:13 +0000 (22:20 +0200)
committerFlorian Forster <octo@verplant.org>
Wed, 2 Jul 2008 20:20:13 +0000 (22:20 +0200)
Returning TRUE will stop the traversal, so return FALSE instead.

src/rrd_daemon.c

index 87ac8e9..feb1ce3 100644 (file)
@@ -299,7 +299,7 @@ static gboolean tree_callback_flush (gpointer key /* {{{ */
       && (ci->values_num > 0))
     enqueue_cache_item (ci, TAIL);
 
       && (ci->values_num > 0))
     enqueue_cache_item (ci, TAIL);
 
-  return (TRUE);
+  return (FALSE);
 } /* }}} gboolean tree_callback_flush */
 
 static void *queue_thread_main (void *args __attribute__((unused))) /* {{{ */
 } /* }}} gboolean tree_callback_flush */
 
 static void *queue_thread_main (void *args __attribute__((unused))) /* {{{ */