[nagiosplug] Re-added missing variable declarations to ...

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Wed Jul 4 20:00:11 CEST 2012


 Module: nagiosplug
 Branch: master
 Commit: 49df5964eb6827eb3180f1dfc01c8efaa2859492
 Author: Eric Stanley <estanley at nagios.com>
   Date: Wed Jul  4 12:48:07 2012 -0500
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=49df596

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.

---

 plugins/check_smtp.c |    2 ++
 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;
 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;





More information about the Commits mailing list