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:
6d3c832
)
ftpserver.pl: Fixed servercmd REPLY with * detection
author
Steve Holme
<steve_holme@hotmail.com>
Sat, 23 Nov 2013 16:25:37 +0000
(16:25 +0000)
committer
Steve Holme
<steve_holme@hotmail.com>
Sat, 23 Nov 2013 16:28:28 +0000
(16:28 +0000)
tests/ftpserver.pl
patch
|
blob
|
history
diff --git
a/tests/ftpserver.pl
b/tests/ftpserver.pl
index d71dc8a24826468834e6ba1b27e97737dd25b7f1..d14f7d305928e1ad5a3531c404751b2b4f7fd2b6 100755
(executable)
--- a/
tests/ftpserver.pl
+++ b/
tests/ftpserver.pl
@@
-2841,7
+2841,7
@@
sub customize {
logmsg "FTPD: Getting commands from log/ftpserver.cmd\n";
while(<CUSTOM>) {
- if($_ =~ /REPLY ([A-Za-z0-9+\/=]*) (.*)/) {
+ if($_ =~ /REPLY ([A-Za-z0-9+\/=
\*
]*) (.*)/) {
$customreply{$1}=eval "qq{$2}";
if($1 eq "") {
logmsg "FTPD: set custom reply for empty response\n";