summaryrefslogtreecommitdiffstats
path: root/plugins/check_tcp.c
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-09-14 02:27:45 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2002-09-14 02:27:45 +0000
commitdde07305649e4eafcc246f770ff65544415d74ad (patch)
tree4247422b210dc51994cc1576903906bb7c6e33e8 /plugins/check_tcp.c
parent4907426318fc394c3d11ba71a0694a0732cf8bf0 (diff)
downloadmonitoring-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.c6
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)
300 state_text (result), (int) (end_time - start_time), server_port); 300 state_text (result), (int) (end_time - start_time), server_port);
301 301
302 if (status) 302 if (status)
303 printf (" [%s]\n", status); 303 printf (" [%s]", status);
304 else 304
305 printf ("\n"); 305 printf ("|time=%d\n", (int) (end_time - start_time));
306 306
307 return result; 307 return result;
308} 308}