projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a5ea21
)
exec plugin: Remove backwards compatibility code.
author
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 5 Jul 2010 07:26:44 +0000
(09:26 +0200)
committer
Florian Forster
<octo@leeloo.lan.home.verplant.org>
Mon, 5 Jul 2010 07:26:44 +0000
(09:26 +0200)
src/exec.c
patch
|
blob
|
history
diff --git
a/src/exec.c
b/src/exec.c
index
c64f949
..
9aabe9f
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-541,12
+541,9
@@
static int parse_line (char *buffer) /* {{{ */
return (handle_putnotif (stdout, buffer));
else
{
- /* For backwards compatibility */
- char tmp[1220];
- /* Let's annoy the user a bit.. */
- INFO ("exec plugin: Prepending `PUTVAL' to this line: %s", buffer);
- ssnprintf (tmp, sizeof (tmp), "PUTVAL %s", buffer);
- return (handle_putval (stdout, tmp));
+ ERROR ("exec plugin: Unable to parse command, ignoring line: \"%s\"",
+ buffer);
+ return (-1);
}
} /* int parse_line }}} */