From 8dfa6ed5a2a29ddd7a8fce6bdacb085870b8bada Mon Sep 17 00:00:00 2001 From: Stephane Bortzmeyer Date: Mon, 19 Mar 2007 13:55:26 +0000 Subject: [PATCH] Test of plugin success did not match the documentation --- SRC/echoping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SRC/echoping.c b/SRC/echoping.c index 7443803..fcff68d 100644 --- a/SRC/echoping.c +++ b/SRC/echoping.c @@ -699,7 +699,7 @@ main(argc, argv) if (smtp) { sendline = "QUIT\r\n"; /* Surprises some SMTP servers which log a * frightening NOQUEUE. Anyone knows better? - * * See bug #1512776 */ + * * * See bug #1512776 */ } else #endif #ifdef ICP @@ -1382,7 +1382,7 @@ main(argc, argv) (void) gettimeofday(&newtv, (struct timezone *) NULL); temp = newtv; tvsub(&temp, &oldtv); - if (!timeout_flag && (!plugin || plugin_result == 0)) { /* If it + if (!timeout_flag && (!plugin || plugin_result >= 0)) { /* If it * worked... */ tvadd(&total, &temp);