ftpserver.pl: Fixed 'Use of uninitialized value $args in string ne'

This commit is contained in:
Steve Holme 2013-09-08 16:39:41 +01:00
parent 1b96ce04b2
commit f8986a2b34
1 changed files with 2 additions and 2 deletions

View File

@ -1301,7 +1301,7 @@ sub DELE_pop3 {
logmsg "DELE_pop3 got $msg\n";
if ($msg eq "") {
if (!$msg) {
sendcontrol "-ERR Protocol error\r\n";
}
else {
@ -1314,7 +1314,7 @@ sub DELE_pop3 {
sub STAT_pop3 {
my ($args) = @_;
if ($args ne "") {
if ($args) {
sendcontrol "-ERR Protocol error\r\n";
}
else {