mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 08:42:17 -04:00
Cleaned up status output of check_tcp changes
This commit is contained in:
parent
4231415878
commit
b5d78f9556
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue