From c0c5078f8289ee53948706543a63208bb83c57c5 Mon Sep 17 00:00:00 2001 From: Matt Sergeant Date: Thu, 12 May 2005 12:58:13 +0000 Subject: [PATCH] Fix warning git-svn-id: https://svn.perl.org/qpsmtpd/branches/high_perf@416 958fd67b-6ff1-0310-b445-bb7760255be9 --- lib/Qpsmtpd/Transaction.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Qpsmtpd/Transaction.pm b/lib/Qpsmtpd/Transaction.pm index 6fe8596..dd075de 100644 --- a/lib/Qpsmtpd/Transaction.pm +++ b/lib/Qpsmtpd/Transaction.pm @@ -160,6 +160,7 @@ sub body_getline { } else { return unless $self->{_body_array}; + $self->{_body_current_pos} ||= 0; my $line = $self->{_body_array}->[$self->{_body_current_pos}]; $self->{_body_current_pos}++; return $line;