Code

Changed the cpu plugin to not use its headerfile anymore.
[collectd.git] / src / configfile.c
index cbe2de9f7807679d518f078cc96b978bef213f62..14b9dfbc4decc2fccfbc8c10efc70d0fcb2868cf 100644 (file)
@@ -297,7 +297,7 @@ int cf_callback_section_module (const char *shortvar, const char *var,
                if (current_module != NULL)
                {
                        free (current_module);
-                       current_module == NULL;
+                       current_module = NULL;
                }
 
                nesting_depth--;