From 85fd2dd40a2bb048e322f6e820d1497f82c83688 Mon Sep 17 00:00:00 2001 From: Hanno Hecker Date: Wed, 26 Sep 2007 07:02:15 +0000 Subject: [PATCH] fix uninitialized values (and empty ->id) git-svn-id: https://svn.perl.org/qpsmtpd/trunk@800 958fd67b-6ff1-0310-b445-bb7760255be9 --- lib/Qpsmtpd/TcpServer/Prefork.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Qpsmtpd/TcpServer/Prefork.pm b/lib/Qpsmtpd/TcpServer/Prefork.pm index cd2dac5..8eb2151 100644 --- a/lib/Qpsmtpd/TcpServer/Prefork.pm +++ b/lib/Qpsmtpd/TcpServer/Prefork.pm @@ -11,7 +11,8 @@ sub start_connection { my $self = shift; #reset info - $self->{_connection} = Qpsmtpd::Connection->new(); #reset connection + # $self->{_connection} = Qpsmtpd::Connection->new(); #reset connection + $self->reset_connection; #reset connection $self->reset_transaction; $self->SUPER::start_connection(@_); }