From 7df9bd7bab72af4f300eef9dc509a226924de58b Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Thu, 30 Dec 2004 00:41:41 +0000 Subject: more internationalization fixes internationalization freeze for beta1 git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1067 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_smtp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/check_smtp.c') diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 6e5d972a..f4a11e01 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -188,7 +188,7 @@ main (int argc, char **argv) return STATE_UNKNOWN; } if(connect_STARTTLS() != OK) { - printf (_("ERROR: Cannot create SSL context.\n")); + printf (_("CRITICAL - Cannot create SSL context.\n")); return STATE_CRITICAL; } if ( check_cert ) { @@ -197,7 +197,7 @@ main (int argc, char **argv) X509_free(server_cert); } else { - printf (_("ERROR: Cannot retrieve server certificate.\n")); + printf (_("CRITICAL - Cannot retrieve server certificate.\n")); result = STATE_CRITICAL; } @@ -591,7 +591,7 @@ connect_STARTTLS (void) SSL_load_error_strings (); if ((ctx = SSL_CTX_new (meth)) == NULL) { - printf(_("ERROR: Cannot create SSL context.\n")); + printf(_("CRITICAL - Cannot create SSL context.\n")); return STATE_CRITICAL; } /* do the SSL handshake */ @@ -606,7 +606,7 @@ connect_STARTTLS (void) } else { - printf (_("ERROR: Cannot initiate SSL handshake.\n")); + printf (_("CRITICAL - Cannot initiate SSL handshake.\n")); } /* this causes a seg faul not sure why, being sloppy @@ -632,7 +632,7 @@ check_certificate (X509 ** certificate) /* Generate tm structure to process timestamp */ if (tm->type == V_ASN1_UTCTIME) { if (tm->length < 10) { - printf (_("ERROR: Wrong time format in certificate.\n")); + printf (_("CRITICAL - Wrong time format in certificate.\n")); return STATE_CRITICAL; } else { @@ -644,7 +644,7 @@ check_certificate (X509 ** certificate) } else { if (tm->length < 12) { - printf (_("ERROR: Wrong time format in certificate.\n")); + printf (_("CRITICAL - Wrong time format in certificate.\n")); return STATE_CRITICAL; } else { -- cgit v1.2.3-74-g34f1