Code

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 1d8fb557fc41bb39d528fa1ddc4c28b9e5b1846d..0ea8c7f7e902b8c90a5f80d494a4d1dd59dc5c3d 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;