fix quoting in reply to format=flowed message
authorPaul <paul@claws-mail.org>
Wed, 23 May 2018 17:10:46 +0000 (18:10 +0100)
committerPaul <paul@claws-mail.org>
Wed, 23 May 2018 17:10:46 +0000 (18:10 +0100)
src/procmime.c

index 2be4b12..76ee317 100644 (file)
@@ -293,7 +293,8 @@ static int procmime_fclose(FILE *fp)
                gint llen = 0;                                                  \
                strretchomp(lastline);                                          \
                llen = strlen(lastline);                                        \
-               if (lastline[llen-1] == ' ' && strcmp(lastline,"-- ")) {        \
+               if (lastline[llen-1] == ' ' && strcmp(lastline,"-- ") &&        \
+                   strcmp(lastline,"> ")) {                                    \
                        /* this is flowed */                                    \
                        if (delsp)                                              \
                                lastline[llen-1] = '\0';                        \