diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-12-22 21:40:50 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-12-22 21:59:13 +0000 |
commit | 3db1f3dd817d8826d2a2d735c851710c87efd06f (patch) | |
tree | 1004182fd25fb2650a3ea45d71ab0746eee5a2b1 /tests | |
parent | 7da9c95bcf1fe6be41de0081188ee0a04ac4db17 (diff) |
ftpserver.pl: Fixed runtime warning from commit 7da9c95bcf1fe6
Use of uninitialized value $FTPARG in concatenation (.) or string at
line 3255.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ftpserver.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; |