diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_smtp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index d8b9059..de382ac 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -154,9 +154,7 @@ main (int argc, char **argv) | |||
154 | if (verbose == TRUE) | 154 | if (verbose == TRUE) |
155 | printf ("SMTP %s - %d sec. response time, %s\n", | 155 | printf ("SMTP %s - %d sec. response time, %s\n", |
156 | state_text (result), (int) (end_time - start_time), buffer); | 156 | state_text (result), (int) (end_time - start_time), buffer); |
157 | else | 157 | |
158 | printf ("SMTP %s - %d second response time\n", state_text (result), | ||
159 | (int) (end_time - start_time)); | ||
160 | } | 158 | } |
161 | } | 159 | } |
162 | 160 | ||
@@ -188,6 +186,8 @@ main (int argc, char **argv) | |||
188 | /* reset the alarm */ | 186 | /* reset the alarm */ |
189 | alarm (0); | 187 | alarm (0); |
190 | 188 | ||
189 | printf ("SMTP %s - %d second response time\n", state_text (result), (int) (end_time - start_time)); | ||
190 | |||
191 | return result; | 191 | return result; |
192 | } | 192 | } |
193 | 193 | ||