From: Sebastian Harl Date: Mon, 12 Feb 2007 17:38:39 +0000 (+0000) Subject: myplugin.c: Do not pass NULL to plugin_submit(). X-Git-Tag: collectd-3.11.2-1~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fc2fd77d9f636fb5da73efa133401c9ccad19523;p=pkg-collectd.git myplugin.c: Do not pass NULL to plugin_submit(). --- diff --git a/debian/examples/myplugin.c b/debian/examples/myplugin.c index ebe661a..775a340 100644 --- a/debian/examples/myplugin.c +++ b/debian/examples/myplugin.c @@ -76,7 +76,7 @@ static void my_read(void) (unsigned int)curtime, data) >= BUFSIZE) return; - plugin_submit(MODULE_NAME, NULL, buf); + plugin_submit(MODULE_NAME, "-", buf); return; } #undef BUFSIZE