mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
ftpserver.pl: Fixed 'Use of uninitialized value $args in string ne'
This commit is contained in:
parent
1b96ce04b2
commit
f8986a2b34
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user