/[smeserver]/rpms/qpsmtpd/sme9/qpsmtpd-0.96-warn_implicit_split.patch
ViewVC logotype

Annotation of /rpms/qpsmtpd/sme9/qpsmtpd-0.96-warn_implicit_split.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri May 6 19:58:08 2016 UTC (8 years, 6 months ago) by vip-ire
Branch: MAIN
CVS Tags: qpsmtpd-0_96-5_el6_sme, qpsmtpd-0_96-1_el6_sme, qpsmtpd-0_96-6_el6_sme, qpsmtpd-0_96-8_el6_sme, qpsmtpd-0_96-7_el6_sme, qpsmtpd-0_96-2_el6_sme, qpsmtpd-0_96-4_el6_sme, qpsmtpd-0_96-3_el6_sme, qpsmtpd-0_96-10_el6_sme, qpsmtpd-0_96-11_el6_sme, qpsmtpd-0_96-9_el6_sme, HEAD
Update to 0.96

1 vip-ire 1.1 diff -Nur -x '*.orig' -x '*.rej' qpsmtpd-0.96/plugins/helo mezzanine_patched_qpsmtpd-0.96/plugins/helo
2     --- qpsmtpd-0.96/plugins/helo 2016-02-16 23:52:02.000000000 +0100
3     +++ mezzanine_patched_qpsmtpd-0.96/plugins/helo 2016-04-15 19:25:32.953870666 +0200
4     @@ -521,7 +521,8 @@
5     my ($dns_name, $helo_name) = @_;
6    
7     return if !$dns_name;
8     - return if split(/\./, $dns_name) < 2; # not a FQDN
9     + my @dots = split(/\./, $dns_name);
10     + return if scalar @dots < 2; # not a FQDN
11    
12     if ($dns_name eq $helo_name) {
13     $self->log(LOGDEBUG, "reverse name match");

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed