From: Ruben Kerkhof Date: Fri, 4 Mar 2016 22:22:55 +0000 (+0100) Subject: plugin.c: constify X-Git-Tag: collectd-5.6.0~435 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=952dfcefc593208c327baa4bdc858741c608e7ba;p=collectd.git plugin.c: constify --- diff --git a/src/daemon/plugin.c b/src/daemon/plugin.c index 788b4549..e7993f1e 100644 --- a/src/daemon/plugin.c +++ b/src/daemon/plugin.c @@ -1343,7 +1343,7 @@ static void plugin_flush_timeout_callback_free (void *data) static char *plugin_flush_callback_name (const char *name) { - char *flush_prefix = "flush/"; + const char *flush_prefix = "flush/"; size_t prefix_size; char *flush_name; size_t name_size;