command is in $command not $_
git-svn-id: https://svn.perl.org/qpsmtpd/trunk@299 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
ee1017a1a4
commit
325bb77713
@ -59,7 +59,7 @@ sub input {
|
||||
alarm $timeout;
|
||||
|
||||
$command =~ s/\r?\n$//s; # advanced chomp
|
||||
$self->log(LOGDEBUG, "dispatching $_");
|
||||
$self->log(LOGDEBUG, "dispatching $command");
|
||||
defined $self->dispatch(split / +/, $command, 2)
|
||||
or $self->respond(502, "command unrecognized: '$command'");
|
||||
alarm $timeout;
|
||||
|
Loading…
Reference in New Issue
Block a user