aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2007-02-06 21:03:21 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2007-02-06 21:03:21 +0000
commit19b97afb125056ed6021d6f6ecf5a9b0ace2b314 (patch)
treee596af9be917bca4c8a7d649b9aa4b6ddcf9a25e /plugins/check_smtp.c
parenta70fb5becfef4479fc44c530658e5fcf2512d289 (diff)
downloadmonitoring-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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 94b97c4f..a7ba45a1 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -297,14 +297,14 @@ main (int argc, char **argv)
* we resent EHLO via TLS.
*/
if (my_send(helocmd, strlen(helocmd)) <= 0) {
- printf(_("SMTP UNKNOWN - Cannot send EHLO command via TLS.\n"));
+ printf("%s\n", _("SMTP UNKNOWN - Cannot send EHLO command via TLS."));
my_close();
return STATE_UNKNOWN;
}
if (verbose)
printf(_("sent %s"), helocmd);
if ((n = my_recv(buffer, MAX_INPUT_BUFFER - 1)) <= 0) {
- printf(_("SMTP UNKNOWN - Cannot read EHLO response via TLS.\n"));
+ printf("%s\n", _("SMTP UNKNOWN - Cannot read EHLO response via TLS."));
my_close();
return STATE_UNKNOWN;
}
@@ -317,7 +317,7 @@ main (int argc, char **argv)
if ( check_cert ) {
result = np_net_ssl_check_cert(days_till_exp);
if(result != STATE_OK){
- printf (_("CRITICAL - Cannot retrieve server certificate.\n"));
+ printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate."));
}
my_close();
return result;