Commit 3db1f3dd authored by Steve Holme's avatar Steve Holme
Browse files

ftpserver.pl: Fixed runtime warning from commit 7da9c95b

Use of uninitialized value $FTPARG in concatenation (.) or string at
line 3255.
parent 7da9c95b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";