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

Re: [PATCH] Minor bug when displaying clearsigned messages



Hello,

> > -      if (buf[0] == '\n') 
> > +      char *p=mutt_skip_whitespace (buf);
> > +      if (p[0] == '\0') 
>                       ^^^^^^
>                       '\n' <-- This is what got commited.

I can confirm that. So here is a patch.

        Thomas
===== pgp.c 1.5 vs edited =====
--- 1.5/pgp.c   2005-01-28 18:40:33 +01:00
+++ edited/pgp.c        2005-02-01 21:18:58 +01:00
@@ -209,7 +209,7 @@
     if (armor_header)
     {
       char *p = mutt_skip_whitespace (buf);
-      if (*p == '\n') 
+      if (*p == '\0') 
        armor_header = 0;
       continue;
     }