ソースを参照

Cleaned up status output of check_tcp changes

abrist 12 年 前
コミット
3ad067c7c5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      plugins/check_tcp.c

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