diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-30 00:41:41 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-30 00:41:41 +0000 |
commit | 7df9bd7bab72af4f300eef9dc509a226924de58b (patch) | |
tree | d98aa39e6fd369c439928d033e45382331e4755f /plugins/check_smtp.c | |
parent | fba6d9719e362be25a546ed47d0f7a42679fc79a (diff) | |
download | monitoring-plugins-7df9bd7bab72af4f300eef9dc509a226924de58b.tar.gz |
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
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 { |