diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2007-02-06 21:03:21 (GMT) |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2007-02-06 21:03:21 (GMT) |
commit | 19b97afb125056ed6021d6f6ecf5a9b0ace2b314 (patch) | |
tree | e596af9be917bca4c8a7d649b9aa4b6ddcf9a25e /plugins/check_smtp.c | |
parent | a70fb5becfef4479fc44c530658e5fcf2512d289 (diff) | |
download | monitoring-plugins-19b97afb125056ed6021d6f6ecf5a9b0ace2b314.tar.gz |
correcting some translation problems
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1611 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 94b97c4..a7ba45a 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -297,14 +297,14 @@ main (int argc, char **argv) | |||
297 | * we resent EHLO via TLS. | 297 | * we resent EHLO via TLS. |
298 | */ | 298 | */ |
299 | if (my_send(helocmd, strlen(helocmd)) <= 0) { | 299 | if (my_send(helocmd, strlen(helocmd)) <= 0) { |
300 | printf(_("SMTP UNKNOWN - Cannot send EHLO command via TLS.\n")); | 300 | printf("%s\n", _("SMTP UNKNOWN - Cannot send EHLO command via TLS.")); |
301 | my_close(); | 301 | my_close(); |
302 | return STATE_UNKNOWN; | 302 | return STATE_UNKNOWN; |
303 | } | 303 | } |
304 | if (verbose) | 304 | if (verbose) |
305 | printf(_("sent %s"), helocmd); | 305 | printf(_("sent %s"), helocmd); |
306 | if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) { | 306 | if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) { |
307 | printf(_("SMTP UNKNOWN - Cannot read EHLO response via TLS.\n")); | 307 | printf("%s\n", _("SMTP UNKNOWN - Cannot read EHLO response via TLS.")); |
308 | my_close(); | 308 | my_close(); |
309 | return STATE_UNKNOWN; | 309 | return STATE_UNKNOWN; |
310 | } | 310 | } |
@@ -317,7 +317,7 @@ main (int argc, char **argv) | |||
317 | if ( check_cert ) { | 317 | if ( check_cert ) { |
318 | result = np_net_ssl_check_cert(days_till_exp); | 318 | result = np_net_ssl_check_cert(days_till_exp); |
319 | if(result != STATE_OK){ | 319 | if(result != STATE_OK){ |
320 | printf (_("CRITICAL - Cannot retrieve server certificate.\n")); | 320 | printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate.")); |
321 | } | 321 | } |
322 | my_close(); | 322 | my_close(); |
323 | return result; | 323 | return result; |