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:
Steve Holme 2013-12-22 21:40:50 +00:00
parent 7da9c95bcf
commit 3db1f3dd81

View File

@ -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";