aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2015-10-08 10:22:57 +0200
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2015-10-08 10:24:10 +0200
commit934fa89f46789f40834d276a87b939c5df2e6c4f (patch)
treea7013597fccb82632b17df8c133be7763be2a5c0 /plugins
parentdfe66c01c0b556dfbac9c1d901d3ba9ed6a1deac (diff)
parentb6de2341f8683d51b8723b772e4753507b1607f5 (diff)
downloadmonitoring-plugins-934fa89f46789f40834d276a87b939c5df2e6c4f.tar.gz
Merge branch 'pr/1379'
* pr/1379: check_smtp.c: modified SSL check for use with -e
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_smtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 2e9b68b1..1996c6d3 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -231,7 +231,7 @@ main (int argc, char **argv)
send(sd, SMTP_STARTTLS, strlen(SMTP_STARTTLS), 0);
recvlines(buffer, MAX_INPUT_BUFFER); /* wait for it */
- if (!strstr (buffer, server_expect)) {
+ if (!strstr (buffer, SMTP_EXPECT)) {
printf (_("Server does not support STARTTLS\n"));
smtp_quit();
return STATE_UNKNOWN;