/[smeserver]/rpms/qpsmtpd/sme8/qpsmtpd-0.29-smtp-loginfo.patch
ViewVC logotype

Annotation of /rpms/qpsmtpd/sme8/qpsmtpd-0.29-smtp-loginfo.patch

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


Revision 1.2 - (hide annotations) (download)
Thu Jun 14 20:07:19 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import on branch sme8 of package qpsmtpd-0.40-1.0.el5.sme.src.rpm

1 slords 1.1 --- lib/Qpsmtpd/TcpServer.pm.smtp-loginfo Thu May 19 13:16:33 2005
2     +++ lib/Qpsmtpd/TcpServer.pm Thu May 19 13:17:46 2005
3     @@ -58,7 +58,7 @@
4     while (<STDIN>) {
5     alarm 0;
6     $_ =~ s/\r?\n$//s; # advanced chomp
7     - $self->log(LOGDEBUG, "dispatching $_");
8     + $self->log(LOGINFO, "dispatching $_");
9     $self->connection->notes('original_string', $_);
10     defined $self->dispatch(split / +/, $_)
11     or $self->respond(502, "command unrecognized: '$_'");
12     @@ -71,7 +71,7 @@
13     my ($self, $code, @messages) = @_;
14     while (my $msg = shift @messages) {
15     my $line = $code . (@messages?"-":" ").$msg;
16     - $self->log(LOGDEBUG, $line);
17     + $self->log(LOGINFO, $line);
18     print "$line\r\n" or ($self->log(LOGERROR, "Could not print [$line]: $!"), return 0);
19     }
20     return 1;
21     @@ -79,7 +79,7 @@
22    
23     sub disconnect {
24     my $self = shift;
25     - $self->log(LOGDEBUG,"click, disconnecting");
26     + $self->log(LOGINFO,"click, disconnecting");
27     $self->SUPER::disconnect(@_);
28     exit;
29     }

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