summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb29e85)
raw | patch | inline | side by side (parent: bb29e85)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 17 Jun 2011 07:05:48 +0000 (09:05 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 17 Jun 2011 07:05:48 +0000 (09:05 +0200) |
src/threshold.c | patch | blob | history |
diff --git a/src/threshold.c b/src/threshold.c
index 7bbc59ef011a5f4a597b524f54a10852f1b725bf..88616e9501ab0abf7779122f610228e34237d4f8 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
char identifier[6 * DATA_MAX_NAME_LEN];
notification_t n;
+ /* dispatch notifications for "interesting" values only */
+ if (threshold_tree == NULL)
+ return (0);
+
th = threshold_search (vl);
if (th == NULL)
return (0);