From 01a1b83b3a4030ae60d1197ebb96b233230dc595 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Tue, 8 May 2007 12:54:42 -0700 Subject: [PATCH] f=f: flush buffer contents (if any) after reading input Otherwise mutt maybe won't show the last line if it's supposed to continue. --- rfc3676.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rfc3676.c b/rfc3676.c index 1933b494a..ebd9543f5 100644 --- a/rfc3676.c +++ b/rfc3676.c @@ -242,6 +242,13 @@ int rfc3676_handler (BODY * a, STATE * s) } } + + if (*curline) + { + dprint (2, (debugfile, "f=f: still content buffered af EOF, flushing at ql=%d\n", quotelevel)); + print_flowed_line (curline, s, quotelevel); + } + FREE(&curline); return (0); } -- 2.40.0