X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemcached.c;h=d7578b625c8a1d7db08aa4f69a19af48f708a598;hb=1917116cda67eb6d90f68d0b39a930d90cee416e;hp=d650f02f1d3fd866030ca2914fccaefd82a9175b;hpb=218c57128f2e54960133cff3e774b5ef9944068a;p=collectd.git diff --git a/src/memcached.c b/src/memcached.c index d650f02f..d7578b62 100644 --- a/src/memcached.c +++ b/src/memcached.c @@ -34,7 +34,6 @@ #include "configfile.h" #include -#include #include #include #include @@ -566,7 +565,7 @@ static int memcached_add_read_callback (memcached_t *st) status = plugin_register_complex_read (/* group = */ "memcached", /* name = */ callback_name, /* callback = */ memcached_read, - /* interval = */ NULL, + /* interval = */ 0, /* user_data = */ &ud); return (status); } /* int memcached_add_read_callback */