diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-09-14 02:27:45 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-09-14 02:27:45 +0000 |
commit | dde07305649e4eafcc246f770ff65544415d74ad (patch) | |
tree | 4247422b210dc51994cc1576903906bb7c6e33e8 /plugins/check_tcp.c | |
parent | 4907426318fc394c3d11ba71a0694a0732cf8bf0 (diff) | |
download | monitoring-plugins-dde07305649e4eafcc246f770ff65544415d74ad.tar.gz |
time data in performance string
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@97 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |