summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorabrist <abrist@nagios.com>2014-02-20 21:02:36 (GMT)
committerJan Wagner <waja@cyconet.org>2014-06-28 19:08:55 (GMT)
commitb5d78f9556f6da877afaa763f281e7495d572367 (patch)
tree2d55380273faeb1f3ade1bbd28bb8889b79fc075 /plugins
parent4231415878daedefd707a39e54f7b438238908d6 (diff)
downloadmonitoring-plugins-b5d78f9556f6da877afaa763f281e7495d572367.tar.gz
Cleaned up status output of check_tcp changes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 0b87d68..b0459f2 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -356,7 +356,7 @@ main (int argc, char **argv)
356 printf("%.3f second response time on ", elapsed_time); 356 printf("%.3f second response time on ", elapsed_time);
357 if(server_address[0] != '/') { 357 if(server_address[0] != '/') {
358 if (host_specified) 358 if (host_specified)
359 printf("host %s and port %d", 359 printf("%s port %d",
360 server_address, server_port); 360 server_address, server_port);
361 else 361 else
362 printf("port %d", server_port); 362 printf("port %d", server_port);