mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
ftpserver.pl: Fixed runtime warning from commit 7da9c95bcf
Use of uninitialized value $FTPARG in concatenation (.) or string at line 3255.
This commit is contained in:
parent
7da9c95bcf
commit
3db1f3dd81
@ -3252,7 +3252,7 @@ while(1) {
|
||||
my $check = 1; # no response yet
|
||||
|
||||
# See if there is a custom reply for the full text
|
||||
my $fulltext = $FTPCMD . " " . $FTPARG;
|
||||
my $fulltext = $FTPARG ? $FTPCMD . " " . $FTPARG : $FTPCMD;
|
||||
my $text = $fulltextreply{$fulltext};
|
||||
if($text && ($text ne "")) {
|
||||
sendcontrol "$text\r\n";
|
||||
|
Loading…
Reference in New Issue
Block a user