varnish: update plugin_register_complex_read() to new default value
[collectd.git] / src / varnish.c
index 1d8fb55..0ea8c7f 100644 (file)
@@ -901,7 +901,7 @@ static int varnish_config_instance (const oconfig_item_t *ci) /* {{{ */
        plugin_register_complex_read (/* group = */ "varnish",
                        /* name      = */ callback_name,
                        /* callback  = */ varnish_read,
-                       /* interval  = */ NULL,
+                       /* interval  = */ 0,
                        /* user data = */ &ud);
 
        have_instance = 1;