[monitoring-plugins] Cleaned up status output of check_tcp changes

Jan Wagner git at monitoring-plugins.org
Mon Jun 30 15:20:08 CEST 2014


    Module: monitoring-plugins
    Branch: master
    Commit: b5d78f9556f6da877afaa763f281e7495d572367
    Author: abrist <abrist at nagios.com>
 Committer: Jan Wagner <waja at cyconet.org>
      Date: Thu Feb 20 16:02:36 2014 -0500
       URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=b5d78f9

Cleaned up status output of check_tcp changes

---

 plugins/check_tcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 			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);



More information about the Commits mailing list