aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Eric Stanley <estanley@nagios.com> 2012-07-04 12:48:07 -0500
committerGravatar Eric Stanley <estanley@nagios.com> 2012-07-04 12:48:07 -0500
commit49df5964eb6827eb3180f1dfc01c8efaa2859492 (patch)
treed967ce5e2dcfd64dfbef279106b20cfc386cc31c /plugins
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.
Diffstat (limited to 'plugins')
-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 3758fd91..a861a71e 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -87,6 +87,8 @@ int errcode, excode;
int server_port = SMTP_PORT;
char *server_address = NULL;
char *server_expect = NULL;
+char *mail_command = NULL;
+char *from_arg = NULL;
int send_mail_from=0;
int ncommands=0;
int command_size=0;