projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
curl_json plugin: Fix handling of numbers which are returned as strings.
[collectd.git]
/
src
/
plugin.c
diff --git
a/src/plugin.c
b/src/plugin.c
index
e32c8f9
..
0f360c0
100644
(file)
--- a/
src/plugin.c
+++ b/
src/plugin.c
@@
-36,7
+36,6
@@
#include "utils_llist.h"
#include "utils_heap.h"
#include "utils_cache.h"
#include "utils_llist.h"
#include "utils_heap.h"
#include "utils_cache.h"
-#include "utils_threshold.h"
#include "filter_chain.h"
/*
#include "filter_chain.h"
/*
@@
-1359,7
+1358,7
@@
int plugin_dispatch_missing (const value_list_t *vl) /* {{{ */
cf = le->value;
callback = cf->cf_callback;
cf = le->value;
callback = cf->cf_callback;
- status = (*callback) (vl);
+ status = (*callback) (vl
, &cf->cf_udata
);
if (status != 0)
{
if (status < 0)
if (status != 0)
{
if (status < 0)
@@
-1525,9
+1524,6
@@
int plugin_dispatch_values (value_list_t *vl)
/* Update the value cache */
uc_update (ds, vl);
/* Update the value cache */
uc_update (ds, vl);
- /* Initiate threshold checking */
- ut_check_threshold (ds, vl);
-
if (post_cache_chain != NULL)
{
status = fc_process_chain (ds, vl, post_cache_chain);
if (post_cache_chain != NULL)
{
status = fc_process_chain (ds, vl, post_cache_chain);