projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcd7f3a
)
exec plugin: Fixed a "control reaches end of non-void function" warning.
author
Sebastian Harl
<sh@tokkee.org>
Tue, 28 Aug 2007 17:04:19 +0000
(19:04 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Tue, 28 Aug 2007 22:37:46 +0000
(
00:37
+0200)
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@leeloo.lan.home.verplant.org>
src/exec.c
patch
|
blob
|
history
diff --git
a/src/exec.c
b/src/exec.c
index
21ac7c7
..
e416c8f
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-256,6
+256,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)