summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 666ea7d)
raw | patch | inline | side by side (parent: 666ea7d)
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) |
program/src/rrd_daemon.c | patch | blob | history |
index b290bcc0861619f3eed716208882689fefdd3862..ba9c2adfa979cf955bd1858507b442af01ed2b3a 100644 (file)
--- a/program/src/rrd_daemon.c
+++ b/program/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)