src/rrd_daemon.c: Set the CI_FLAGS_IN_QUEUE flag when queueing a CI.
authorFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 22 Jun 2008 21:24:53 +0000 (23:24 +0200)
committerFlorian Forster <octo@leeloo.home.verplant.org>
Sun, 22 Jun 2008 21:24:53 +0000 (23:24 +0200)
src/rrd_daemon.c

index d446756..b72f62e 100644 (file)
@@ -182,6 +182,8 @@ static int enqueue_cache_item (cache_item_t *ci) /* {{{ */
     cache_queue_tail->next = ci;
   cache_queue_tail = ci;
 
+  ci->flags |= CI_FLAGS_IN_QUEUE;
+
   return (0);
 } /* }}} int enqueue_cache_item */