diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 16:51:25 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-02 16:51:25 (GMT) |
commit | 234481163fc3caf0cb8b14f601f0f9f1458f97f5 (patch) | |
tree | e8debce30a2722f5f4dc5e33faf54c9915dd022f /plugins/check_tcp.c | |
parent | df1bd0c89ff63de64ee630e0025389651947020c (diff) | |
download | monitoring-plugins-234481163fc3caf0cb8b14f601f0f9f1458f97f5.tar.gz |
More internationalization work
new usage4 function to permit localisation of think like check_ssh: xxxxx
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_tcp.c')
-rw-r--r-- | plugins/check_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index ed51e94..af3c720 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c | |||
@@ -240,7 +240,7 @@ main (int argc, char **argv) | |||
240 | status = strdup (""); | 240 | status = strdup (""); |
241 | 241 | ||
242 | if (process_arguments (argc, argv) != TRUE) | 242 | if (process_arguments (argc, argv) != TRUE) |
243 | usage (_("check_tcp: could not parse arguments\n")); | 243 | usage4 (_("Could not parse arguments")); |
244 | 244 | ||
245 | /* use default expect if none listed in process_arguments() */ | 245 | /* use default expect if none listed in process_arguments() */ |
246 | if (EXPECT && server_expect_count == 0) { | 246 | if (EXPECT && server_expect_count == 0) { |
@@ -265,7 +265,7 @@ main (int argc, char **argv) | |||
265 | X509_free(server_cert); | 265 | X509_free(server_cert); |
266 | } | 266 | } |
267 | else { | 267 | else { |
268 | printf("CRITICAL Cannot retrieve server certificate.\n"); | 268 | printf("CRITICAL - Cannot retrieve server certificate.\n"); |
269 | result = STATE_CRITICAL; | 269 | result = STATE_CRITICAL; |
270 | } | 270 | } |
271 | SSL_shutdown (ssl); | 271 | SSL_shutdown (ssl); |