From: Florian Forster Date: Sat, 6 Nov 2010 16:34:14 +0000 (+0100) Subject: zeromq plugin: Rename the meta data set by the plugin. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8dac337fbf539daae9d6a6872426b7e35156ccf7;p=collectd.git zeromq plugin: Rename the meta data set by the plugin. --- diff --git a/src/zeromq.c b/src/zeromq.c index 80a98508..aaef23e9 100644 --- a/src/zeromq.c +++ b/src/zeromq.c @@ -65,7 +65,7 @@ static _Bool check_receive_okay (const value_list_t *vl) /* {{{ */ int status; status = uc_meta_data_get_unsigned_int (vl, - "network:time_sent", &time_sent); + "zeromq:time_sent", &time_sent); /* This is a value we already sent. Don't allow it to be received again in * order to avoid looping. */ @@ -114,7 +114,7 @@ static int network_dispatch_values (value_list_t *vl, /* {{{ */ return (-ENOMEM); } - status = meta_data_add_boolean (vl->meta, "network:received", 1); + status = meta_data_add_boolean (vl->meta, "zeromq:received", 1); if (status != 0) { ERROR ("network plugin: meta_data_add_boolean failed."); @@ -125,7 +125,7 @@ static int network_dispatch_values (value_list_t *vl, /* {{{ */ if (username != NULL) { - status = meta_data_add_string (vl->meta, "network:username", username); + status = meta_data_add_string (vl->meta, "zeromq:username", username); if (status != 0) { ERROR ("network plugin: meta_data_add_string failed.");