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

"Nagios Plugin Development" <[email protected]> Wed, 4 Jul 2012 18:00:11 +0000
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
 Module: nagiosplug
 Branch: master
 Commit: 49df5964eb6827eb3180f1dfc01c8efaa2859492
 Author: Eric Stanley <[email protected]>
   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;


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/