summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97b9505)
raw | patch | inline | side by side (parent: 97b9505)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 22 Mar 2010 14:50:32 +0000 (14:50 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 22 Mar 2010 14:50:32 +0000 (14:50 +0000) |
src/rrd_daemon.c | patch | blob | history |
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index b290bcc0861619f3eed716208882689fefdd3862..ba9c2adfa979cf955bd1858507b442af01ed2b3a 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
for (k = 0; k < cfd.keys_num; k++)
{
+ gboolean status = g_tree_remove(cache_tree, cfd.keys[k]);
/* should never fail, since we have held the cache_lock
* the entire time */
- assert( g_tree_remove(cache_tree, cfd.keys[k]) == TRUE );
+ assert(status == TRUE);
}
if (cfd.keys != NULL)