cvs commit: qpsmtpd/lib Qpsmtpd.pm

[email protected] (Ask Bjoern Hansen)
Newsgroups perl.cvs.qpsmtpd
Message-ID <[email protected]>
cvsuser     03/04/22 20:36:37

  Modified:    .        Changes
               lib      Qpsmtpd.pm
  Log:
  Fix bug hiding the error message when an existing configuration file
  isn't readable.
  
  Revision  Changes    Path
  1.45      +3 -0      qpsmtpd/Changes
  
  Index: Changes
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/Changes,v
  retrieving revision 1.44
  retrieving revision 1.45
  diff -u -w -r1.44 -r1.45
  --- Changes	21 Apr 2003 09:42:00 -0000	1.44
  +++ Changes	23 Apr 2003 03:36:36 -0000	1.45
  @@ -1,5 +1,8 @@
   0.26-dev
   
  +  Fix bug hiding the error message when an existing configuration file
  +  isn't readable.
  +
     If a plugin running the ehlo hook add something to the ARRAY
     reference $self->transaction->notes('capabilities') then it will be
     added to the EHLO response.
  
  
  
  1.20      +1 -1      qpsmtpd/lib/Qpsmtpd.pm
  
  Index: Qpsmtpd.pm
  ===================================================================
  RCS file: /cvs/public/qpsmtpd/lib/Qpsmtpd.pm,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -w -r1.19 -r1.20
  --- Qpsmtpd.pm	15 Apr 2003 17:50:45 -0000	1.19
  +++ Qpsmtpd.pm	23 Apr 2003 03:36:36 -0000	1.20
  @@ -77,7 +77,7 @@
       return \%h;
     }
   
  -  open CF, "<$configfile" or warn "$$ could not open configfile $configfile: $!", return;
  +  open CF, "<$configfile" or warn "$$ could not open configfile $configfile: $!" and return;
     my @config = <CF>;
     chomp @config;
     @config = grep { $_ and $_ !~ m/^\s*#/ and $_ =~ m/\S/} @config;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.