summaryrefslogtreecommitdiffstats
path: root/hdrline.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-09-29 12:10:34 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-09-29 12:10:34 +0000
commitd126b9e7231e0a3469ba1f4ba571e8dc37cd0309 (patch)
tree649139e5f015b1e5cdac1f5450954fcec15e801a /hdrline.c
parentacc369b3b8350a56560d55ef5b2c9fd7b8336897 (diff)
Make status characters work again.
Diffstat (limited to 'hdrline.c')
-rw-r--r--hdrline.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/hdrline.c b/hdrline.c
index ad17877f..ed43da25 100644
--- a/hdrline.c
+++ b/hdrline.c
@@ -170,19 +170,17 @@ static int user_is_recipient (HEADER *h)
if (mutt_addr_is_user (hdr->from))
h->recipient = 4;
-
- if (user_in_addr (hdr->to))
+ else if (user_in_addr (hdr->to))
{
if (hdr->to->next || hdr->cc)
h->recipient = 2; /* non-unique recipient */
else
h->recipient = 1; /* unique recipient */
}
-
- if (user_in_addr (hdr->cc))
+ else if (user_in_addr (hdr->cc))
h->recipient = 3;
-
- h->recipient = 0;
+ else
+ h->recipient = 0;
}
return h->recipient;