Fixed multifile UUE decoding.
This commit is contained in:
parent
bda4107d00
commit
9e44d9f9d1
@ -964,7 +964,8 @@ UUDecodePart (FILE *datain, FILE *dataout, int *state,
|
||||
return UURET_IOERR;
|
||||
}
|
||||
|
||||
if ((method == UU_ENCODED) && (regexp1.match(line) || regexp2.match(line)))
|
||||
if ((method == UU_ENCODED) && (*state == DATA) &&
|
||||
(regexp1.match(line) || regexp2.match(line)))
|
||||
{
|
||||
endsection = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user