/[smeserver]/rpms/qpsmtpd/sme7/qpsmtpd-0.33-smtp-loginfo.patch
ViewVC logotype

Contents of /rpms/qpsmtpd/sme7/qpsmtpd-0.33-smtp-loginfo.patch

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


Revision 1.1 - (show annotations) (download)
Thu Jun 14 19:18:15 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: qpsmtpd-0_40-1_3_el4_sme, qpsmtpd-0_40-1_0_el4_sme, qpsmtpd-0_40-1_5_el4_sme, qpsmtpd-0_40-1_2_el4_sme, qpsmtpd-0_40-1_7_el4_sme, qpsmtpd-0_40-1_4_el4_sme, qpsmtpd-0_40-1_9_el4_sme, qpsmtpd-0_40-1_6_el4_sme, qpsmtpd-0_40-1_12_el4_sme, qpsmtpd-0_40-1_10_el4_sme, qpsmtpd-0_40-1_11_el4_sme, qpsmtpd-0_40-1_1_el4_sme
Branch point for: qpsmtpd-0_40
Import on branch sme7 of package qpsmtpd-0.40-1.0.el4.sme.src.rpm

1 --- lib/Qpsmtpd/TcpServer.pm.smtp-loginfo Wed Oct 4 15:49:49 2006
2 +++ lib/Qpsmtpd/TcpServer.pm Sun Nov 5 15:41:31 2006
3 @@ -61,7 +61,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 / +/, $_, 2)
11 or $self->respond(502, "command unrecognized: '$_'");
12 @@ -75,7 +75,7 @@
13 my $buf = '';
14 while (my $msg = shift @messages) {
15 my $line = $code . (@messages?"-":" ").$msg;
16 - $self->log(LOGDEBUG, $line);
17 + $self->log(LOGINFO, $line);
18 $buf .= "$line\r\n";
19 }
20 print $buf or ($self->log(LOGERROR, "Could not print [$buf]: $!"), return 0);
21 @@ -84,7 +84,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 $self->run_hooks("post-connection");
29 exit;

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