summaryrefslogtreecommitdiffstats
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
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)
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;