projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7da9c95
)
ftpserver.pl: Fixed runtime warning from commit 7da9c95bcf1fe6
author
Steve Holme
<steve_holme@hotmail.com>
Sun, 22 Dec 2013 21:40:50 +0000
(21:40 +0000)
committer
Steve Holme
<steve_holme@hotmail.com>
Sun, 22 Dec 2013 21:59:13 +0000
(21:59 +0000)
Use of uninitialized value $FTPARG in concatenation (.) or string at
line 3255.
tests/ftpserver.pl
patch
|
blob
|
history
diff --git
a/tests/ftpserver.pl
b/tests/ftpserver.pl
index
3a4a079
..
a37802d
100755
(executable)
--- 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 = $FTP
CMD . " " . $FTPARG
;
+ my $fulltext = $FTP
ARG ? $FTPCMD . " " . $FTPARG : $FTPCMD
;
my $text = $fulltextreply{$fulltext};
if($text && ($text ne "")) {
sendcontrol "$text\r\n";