summaryrefslogtreecommitdiffstats
path: root/database/rrddim.c
diff options
context:
space:
mode:
Diffstat (limited to 'database/rrddim.c')
-rw-r--r--database/rrddim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/rrddim.c b/database/rrddim.c
index 0f99f98df..cae88674d 100644
--- a/database/rrddim.c
+++ b/database/rrddim.c
@@ -126,7 +126,7 @@ static void rrddim_insert_callback(const DICTIONARY_ITEM *item __maybe_unused, v
if(rrdset_number_of_dimensions(st) != 0) {
RRDDIM *td;
dfe_start_write(st->rrddim_root_index, td) {
- if(!td) break;
+ if(td) break;
}
dfe_done(td);