From dde07305649e4eafcc246f770ff65544415d74ad Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Sat, 14 Sep 2002 02:27:45 +0000 Subject: time data in performance string git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@97 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_tcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/check_tcp.c') diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index bef0e752..c537729f 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -300,9 +300,9 @@ main (int argc, char **argv) state_text (result), (int) (end_time - start_time), server_port); if (status) - printf (" [%s]\n", status); - else - printf ("\n"); + printf (" [%s]", status); + + printf ("|time=%d\n", (int) (end_time - start_time)); return result; } -- cgit v1.2.3