From 3db1f3dd817d8826d2a2d735c851710c87efd06f Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 22 Dec 2013 21:40:50 +0000 Subject: ftpserver.pl: Fixed runtime warning from commit 7da9c95bcf1fe6 Use of uninitialized value $FTPARG in concatenation (.) or string at line 3255. --- tests/ftpserver.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ftpserver.pl b/tests/ftpserver.pl index 3a4a0795c..a37802d5c 100755 --- a/tests/ftpserver.pl +++ b/tests/ftpserver.pl @@ -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"; -- cgit v1.2.3