From: Thomas Kho Date: Thu, 2 Apr 2015 17:14:24 +0000 (-0400) Subject: Fix type instance sanitization in bind plugin X-Git-Tag: collectd-5.5.0~12^2~6^2^2~1 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ba51433eb374ccf21da089132f1f6f1a342f06bd;p=collectd.git Fix type instance sanitization in bind plugin --- diff --git a/src/bind.c b/src/bind.c index 19d95d41..d358146a 100644 --- a/src/bind.c +++ b/src/bind.c @@ -253,7 +253,7 @@ static void submit (time_t ts, const char *plugin_instance, /* {{{ */ if (type_instance) { sstrncpy(vl.type_instance, type_instance, sizeof(vl.type_instance)); - replace_special (vl.plugin_instance, sizeof (vl.plugin_instance)); + replace_special (vl.type_instance, sizeof (vl.type_instance)); } plugin_dispatch_values(&vl); } /* }}} void submit */