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

Re: [PATCH] Minor bug when displaying clearsigned messages



* David Shaw [Wed, 26 Jan 2005 14:04:38 -0500]:

> I've attached an example message to illustrate the problem, and here
> is a patch that fixes it.  This applies to 1.5.6i (CVS from today)

  While I can verify that your patch fixes the problem, it seems that
  what got committed into CVS is a little different.
>      if (armor_header)
>      {
> -      if (buf[0] == '\n') 
> +      char *p=mutt_skip_whitespace (buf);
> +      if (p[0] == '\0') 
                      ^^^^^^
                      '\n' <-- This is what got commited.

  This, apart from not fixing the problem, extends it to all inline
  signed messages. In other words, mutt 1.5.7 displays all of them
  empty. (I will reply now to this mail with one of these.)

  Thanks,

-- 
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621
 
When the only tool you have is a hammer, every problem starts to look
like a nail.