1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

bail out on crap received, makes test case 402 *NOT* ruin the test series

anymore!
This commit is contained in:
Daniel Stenberg 2002-12-12 18:07:10 +00:00
parent 07e3dc2ee2
commit 637bce2707

View File

@ -439,7 +439,8 @@ for ( $waitedpid = 0;
unless (m/^([A-Z]{3,4})\s?(.*)/i) {
print "500 '$_': command not understood.\r\n";
next;
logmsg "unknown crap received, bailing out hard\n";
last;
}
my $FTPCMD=$1;
my $FTPARG=$2;