diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-04-17 17:57:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-04-17 17:57:35 +0000 |
commit | 3b95e5be69c199a2a195c57aba12d88c242225ac (patch) | |
tree | 137b72ffaefe7f34bf21e975ccc9cc9ec0474564 /web/api/queries/des/des.c | |
parent | Adding upstream version 1.13.0. (diff) | |
download | netdata-b9ac22f8da656f8703bea7c713068a397e01c714.tar.xz netdata-b9ac22f8da656f8703bea7c713068a397e01c714.zip |
Adding upstream version 1.14.0~rc0.upstream/1.14.0_rc0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'web/api/queries/des/des.c')
-rw-r--r-- | web/api/queries/des/des.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/api/queries/des/des.c b/web/api/queries/des/des.c index 93d724723..c6236f31a 100644 --- a/web/api/queries/des/des.c +++ b/web/api/queries/des/des.c @@ -99,7 +99,7 @@ void grouping_free_des(RRDR *r) { void grouping_add_des(RRDR *r, calculated_number value) { struct grouping_des *g = (struct grouping_des *)r->internal.grouping_data; - if(isnormal(value)) { + if(calculated_number_isnumber(value)) { if(likely(g->count > 0)) { // we have at least a number so far @@ -128,7 +128,7 @@ void grouping_add_des(RRDR *r, calculated_number value) { calculated_number grouping_flush_des(RRDR *r, RRDR_VALUE_FLAGS *rrdr_value_options_ptr) { struct grouping_des *g = (struct grouping_des *)r->internal.grouping_data; - if(unlikely(!g->count || !isnormal(g->level))) { + if(unlikely(!g->count || !calculated_number_isnumber(g->level))) { *rrdr_value_options_ptr |= RRDR_VALUE_EMPTY; return 0.0; } |