author | Florian Forster <octo@collectd.org> | |
Thu, 17 Dec 2015 14:19:00 +0000 (15:19 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Thu, 17 Dec 2015 14:19:00 +0000 (15:19 +0100) |
1 | 2 | |||
---|---|---|---|---|
src/email.c | patch | | diff1 | | diff2 | | blob | history |
src/gmond.c | patch | | diff1 | | diff2 | | blob | history |
src/perl.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/email.c
Simple merge
diff --cc src/gmond.c
index c778d48dceb9a1ff4848c72571107d8f87c63471,2ac9f2501c390e09b3a0f9783fb3078ec0c2fae4..f86d8f7add6df91563d6c8cb1f0d692c9ef7e803
--- 1/src/gmond.c
--- 2/src/gmond.c
+++ b/src/gmond.c
return (se);
} /* }}} staging_entry_t *staging_entry_get */
- static int staging_entry_submit (const char *host, const char *name, /* {{{ */
- staging_entry_t *se)
- {
- value_list_t vl;
- value_t values[se->vl.values_len];
-
- if (se->vl.interval == 0)
- {
- /* No meta data has been received for this metric yet. */
- se->flags = 0;
- pthread_mutex_unlock (&staging_lock);
- request_meta_data (host, name);
- return (0);
- }
-
- se->flags = 0;
-
- memcpy (values, se->vl.values, sizeof (values));
- memcpy (&vl, &se->vl, sizeof (vl));
-
- /* Unlock before calling `plugin_dispatch_values'.. */
- pthread_mutex_unlock (&staging_lock);
-
- vl.values = values;
-
- plugin_dispatch_values (&vl);
-
- return (0);
- } /* }}} int staging_entry_submit */
-
static int staging_entry_update (const char *host, const char *name, /* {{{ */
const char *type, const char *type_instance,
- int ds_index, int ds_type, value_t value)
+ size_t ds_index, int ds_type, value_t value)
{
const data_set_t *ds;
staging_entry_t *se;
diff --cc src/perl.c
Simple merge