diff options
author | abrist <abrist@nagios.com> | 2014-02-20 16:02:36 -0500 |
---|---|---|
committer | Jan Wagner <waja@cyconet.org> | 2014-06-28 21:08:55 +0200 |
commit | b5d78f9556f6da877afaa763f281e7495d572367 (patch) | |
tree | 2d55380273faeb1f3ade1bbd28bb8889b79fc075 /plugins | |
parent | 4231415878daedefd707a39e54f7b438238908d6 (diff) | |
download | monitoring-plugins-b5d78f9556f6da877afaa763f281e7495d572367.tar.gz |
Cleaned up status output of check_tcp changes
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_tcp.c | 2 |
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) | |||
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); |