aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar abrist <abrist@nagios.com> 2014-02-20 16:02:36 -0500
committerGravatar Jan Wagner <waja@cyconet.org> 2014-06-28 21:08:55 +0200
commitb5d78f9556f6da877afaa763f281e7495d572367 (patch)
tree2d55380273faeb1f3ade1bbd28bb8889b79fc075
parent4231415878daedefd707a39e54f7b438238908d6 (diff)
downloadmonitoring-plugins-b5d78f9556f6da877afaa763f281e7495d572367.tar.gz
Cleaned up status output of check_tcp changes
-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 0b87d687..b0459f2b 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -356,7 +356,7 @@ main (int argc, char **argv)
printf("%.3f second response time on ", elapsed_time);
if(server_address[0] != '/') {
if (host_specified)
- printf("host %s and port %d",
+ printf("%s port %d",
server_address, server_port);
else
printf("port %d", server_port);