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
1 changed files with 2 additions and 1 deletions

View File

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