varnish: update plugin_register_complex_read() to new default value
authorMarc Fournier <marc.fournier@camptocamp.com>
Sun, 7 Jun 2015 14:21:37 +0000 (16:21 +0200)
committerMarc Fournier <marc.fournier@camptocamp.com>
Sun, 7 Jun 2015 14:21:37 +0000 (16:21 +0200)
... just a follow up to cce136946b, in which one of the two
plugin_register_complex_read() calls got missed out.

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;