summaryrefslogtreecommitdiffstats
path: root/web/attachments/222519-check_smtp.c.patch
blob: 96e6f9d1ae26141da3efca9e6ce1e80e90818e99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- check_smtp.c.orig   2007-03-27 10:20:06.000000000 -0400
+++ check_smtp.c        2007-03-27 10:20:58.000000000 -0400
@@ -190,9 +190,9 @@
                        printf(_("gethostname() failed!\n"));
                        return STATE_CRITICAL;
                }
-       } else {
-               helocmd = localhostname;
        }
+       helocmd = localhostname;
+
        if(use_ehlo)
                asprintf (&helocmd, "%s%s%s", SMTP_EHLO, helocmd, "\r\n");
        else