X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftarget_notification.c;h=429e256dbf32369e57c4a2cb668807c5757de794;hb=4eca75de34e9c3d7f2391b9c7a5951a27a713804;hp=ffd76dc552e406a9b91f22e73bd0599e7e4e7798;hpb=be126043c2be20399d7670fe194645292018bde0;p=collectd.git diff --git a/src/target_notification.c b/src/target_notification.c index ffd76dc5..429e256d 100644 --- a/src/target_notification.c +++ b/src/target_notification.c @@ -234,7 +234,7 @@ static int tn_invoke(const data_set_t *ds, value_list_t *vl, /* {{{ */ /* If this is a gauge value, use the current value. */ if (ds->ds[i].type == DS_TYPE_GAUGE) snprintf(value_str, sizeof(value_str), GAUGE_FORMAT, - (double)vl->values[i].gauge); + (double)vl->values[i].gauge); /* If it's a counter, try to use the current rate. This may fail, if the * value has been renamed. */ else if (rates != NULL)