Fix warning
git-svn-id: https://svn.perl.org/qpsmtpd/branches/high_perf@416 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
7633e038c1
commit
c0c5078f82
@ -160,6 +160,7 @@ sub body_getline {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return unless $self->{_body_array};
|
return unless $self->{_body_array};
|
||||||
|
$self->{_body_current_pos} ||= 0;
|
||||||
my $line = $self->{_body_array}->[$self->{_body_current_pos}];
|
my $line = $self->{_body_array}->[$self->{_body_current_pos}];
|
||||||
$self->{_body_current_pos}++;
|
$self->{_body_current_pos}++;
|
||||||
return $line;
|
return $line;
|
||||||
|
Loading…
Reference in New Issue
Block a user