Code

plugin.c: constify
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:22:55 +0000 (23:22 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 22:22:55 +0000 (23:22 +0100)
src/daemon/plugin.c

index 788b4549f8ad4380aeab8be6eb3d2535c9c65141..e7993f1e8686b4adce2670754f9f24f82f3e9dc4 100644 (file)
@@ -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;