From 9e44d9f9d119aed4c84ebbbab5a7226fec0d8ce9 Mon Sep 17 00:00:00 2001 From: Ianos Gnatiuc Date: Thu, 18 Jan 2007 20:45:32 +0000 Subject: [PATCH] Fixed multifile UUE decoding. --- goldlib/uulib/uunconc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/goldlib/uulib/uunconc.cpp b/goldlib/uulib/uunconc.cpp index f966c16..0e9547f 100644 --- a/goldlib/uulib/uunconc.cpp +++ b/goldlib/uulib/uunconc.cpp @@ -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; }