]> granicus.if.org Git - mutt/commitdiff
Fix #1759.
authorAlain Bench <veronatif@free.fr>
Wed, 2 Jun 2004 17:55:34 +0000 (17:55 +0000)
committerAlain Bench <veronatif@free.fr>
Wed, 2 Jun 2004 17:55:34 +0000 (17:55 +0000)
parse.c

diff --git a/parse.c b/parse.c
index 5317edbb5934cc7d27a3466895723ddb7e8b0aa1..471c55e560932be153bc053f48e03c0bbe8d05a4 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -1053,14 +1053,16 @@ int mutt_parse_rfc822_line (ENVELOPE *e, HEADER *hdr, char *line, char *p, short
     if (!ascii_strcasecmp (line + 1, "ines"))
     {
       if (hdr)
+      {
        hdr->lines = atoi (p);
 
-      /* 
-       * HACK - mutt has, for a very short time, produced negative
-       * Lines header values.  Ignore them. 
-       */
-      if (hdr->lines < 0)
-       hdr->lines = 0;
+       /* 
+        * HACK - mutt has, for a very short time, produced negative
+        * Lines header values.  Ignore them. 
+        */
+       if (hdr->lines < 0)
+         hdr->lines = 0;
+      }
 
       matched = 1;
     }