summaryrefslogtreecommitdiffstats
path: root/web/attachments/222519-check_smtp.c.patch
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/222519-check_smtp.c.patch
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/222519-check_smtp.c.patch')
-rw-r--r--web/attachments/222519-check_smtp.c.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/attachments/222519-check_smtp.c.patch b/web/attachments/222519-check_smtp.c.patch
new file mode 100644
index 0000000..96e6f9d
--- /dev/null
+++ b/web/attachments/222519-check_smtp.c.patch
@@ -0,0 +1,14 @@
1--- check_smtp.c.orig 2007-03-27 10:20:06.000000000 -0400
2+++ check_smtp.c 2007-03-27 10:20:58.000000000 -0400
3@@ -190,9 +190,9 @@
4 printf(_("gethostname() failed!\n"));
5 return STATE_CRITICAL;
6 }
7- } else {
8- helocmd = localhostname;
9 }
10+ helocmd = localhostname;
11+
12 if(use_ehlo)
13 asprintf (&helocmd, "%s%s%s", SMTP_EHLO, helocmd, "\r\n");
14 else