summaryrefslogtreecommitdiffstats
path: root/plugins/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 015ccd4..2a77637 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -550,7 +550,7 @@ process_arguments (int argc, char **argv)
550 550
551 if (server_address == NULL) 551 if (server_address == NULL)
552 usage4 (_("You must provide a server address")); 552 usage4 (_("You must provide a server address"));
553 else if (is_host (server_address) == FALSE && server_address[0] != '/') 553 else if (server_address[0] != '/' && is_host (server_address) == FALSE)
554 usage2 (_("Invalid hostname, address, or socket"), server_address); 554 usage2 (_("Invalid hostname, address, or socket"), server_address);
555 555
556 return TRUE; 556 return TRUE;