[collectd] [PATCH] exec plugin: Fixed a "control reaches end of non-void function" warning.
Sebastian Harl
sh at tokkee.org
Tue Aug 28 19:04:19 CEST 2007
Signed-off-by: Sebastian Harl <sh at tokkee.org>
---
src/exec.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/exec.c b/src/exec.c
index 058e7c4..3502794 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -212,6 +212,7 @@ static int parse_line (char *buffer)
fields_num = strsplit (buffer, &fields[1], STATIC_ARRAY_SIZE(fields) - 1);
handle_putval (stdout, fields, fields_num + 1);
+ return (0);
} /* int parse_line */
static void *exec_read_one (void *arg)
--
1.5.2.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20070828/1b70ee74/attachment.pgp
More information about the collectd
mailing list