<<< Date Index >>>     <<< Thread Index >>>

[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 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/rfc3676.c b/rfc3676.c
index 1933b49..ebd9543 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);
 }
-- 
1.5.1.rc3.659.g88c1