From 1dfe7cc7157f72e5132402349ba312d690ecabd4 Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Fri, 8 Sep 2017 22:03:05 +1000 Subject: [PATCH] Attempt to fix bad ansi in unmangle ansi --- mail_menu.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mail_menu.c b/mail_menu.c index 7aaed11..fb3b1a3 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -1152,6 +1152,10 @@ void unmangle_ansi(char *body, int len, char **body_out, int *body_len) { } state = 0; break; + default: + // bad ansi + state = 0; + break; } } }