Commit 637bce27 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

anymore!
parent 07e3dc2e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;