diff options
Diffstat (limited to 'web/attachments/222519-check_smtp.c.patch')
-rw-r--r-- | web/attachments/222519-check_smtp.c.patch | 14 |
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 | ||