From: Alain Bench Date: Wed, 2 Jun 2004 17:55:34 +0000 (+0000) Subject: Fix #1759. X-Git-Tag: mutt-1-5-15-rel~175 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82138ebb0784051f1408af34d18a5f180506dee8;p=mutt Fix #1759. --- diff --git a/parse.c b/parse.c index 5317edbb..471c55e5 100644 --- 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; }