From a72332c0ac9a2d806ac2a7bd5f8750d5b41f0bab Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 5 Jul 2010 09:26:44 +0200 Subject: [PATCH] exec plugin: Remove backwards compatibility code. --- src/exec.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/exec.c b/src/exec.c index c64f949f..9aabe9fc 100644 --- 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 }}} */ -- 2.11.0