summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7f4143e)
raw | patch | inline | side by side (parent: 7f4143e)
author | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 12:45:02 +0000 (14:45 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 18 Jun 2015 12:45:02 +0000 (14:45 +0200) |
src/threshold.c | patch | blob | history |
diff --git a/src/threshold.c b/src/threshold.c
index 591e2dd629a3270833dd4bad5466f52d928c5a63..4a840bb9c7145970044ba5f156efd2e7e24cae96 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
else
status = ssnprintf (buf, bufsize,
": All data sources are within range again.");
- buf += status;
- bufsize -= status;
}
else
{
(state == STATE_ERROR) ? "failure" : "warning",
(values[ds_index] < min) ? min : max);
}
- buf += status;
- bufsize -= status;
}
plugin_dispatch_notification (&n);