Code

myplugin.c: Do not pass NULL to plugin_submit().
authorSebastian Harl <sh@tokkee.org>
Mon, 12 Feb 2007 17:38:39 +0000 (17:38 +0000)
committerSebastian Harl <sh@tokkee.org>
Mon, 12 Feb 2007 17:38:39 +0000 (17:38 +0000)
debian/examples/myplugin.c

index ebe661adf34d38729415f88b98f623c39624dbb6..775a340892bd1e3f51dc944d663cc80226d30212 100644 (file)
@@ -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