1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

ftpserver.pl: Corrected logic from commit 27b7b1062f

This commit is contained in:
Steve Holme 2013-11-06 08:07:59 +00:00
parent 27b7b1062f
commit 558034ab70

View File

@ -3117,7 +3117,7 @@ while(1) {
my $check;
if($text && ($text ne "")) {
if(($cmdid) && ($cmdid ne "") && ($fake) && ($fake ne "")) {
if(($cmdid) && ($cmdid ne "") && ((!$fake) || ($fake eq ""))) {
sendcontrol "$cmdid$text\r\n";
}
else {