summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Stanley <estanley@nagios.com>2012-07-04 17:48:07 (GMT)
committerEric Stanley <estanley@nagios.com>2012-07-04 17:48:07 (GMT)
commit49df5964eb6827eb3180f1dfc01c8efaa2859492 (patch)
treed967ce5e2dcfd64dfbef279106b20cfc386cc31c
parentb57aeb1e5f6099ef97a178ff0e9ed22f0e7a1caf (diff)
downloadmonitoring-plugins-49df5964eb6827eb3180f1dfc01c8efaa2859492.tar.gz
Re-added missing variable declarations to check_smtp.c
A recent update removed the declarations for a couple variables in check_smtp.c that are still being used, which caused a failure in the compilation of check_smtp.c. This commit restores those variable declarations so the check_smtp.c will again compile.
-rw-r--r--plugins/check_smtp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 3758fd9..a861a71 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -87,6 +87,8 @@ int errcode, excode;
87int server_port = SMTP_PORT; 87int server_port = SMTP_PORT;
88char *server_address = NULL; 88char *server_address = NULL;
89char *server_expect = NULL; 89char *server_expect = NULL;
90char *mail_command = NULL;
91char *from_arg = NULL;
90int send_mail_from=0; 92int send_mail_from=0;
91int ncommands=0; 93int ncommands=0;
92int command_size=0; 94int command_size=0;