From 983d5cb5891bb74272ccda70ce843dcba86626c3 Mon Sep 17 00:00:00 2001 From: "Steffen \"Daode\" Nurpmeso" Date: Mon, 8 Oct 2012 15:16:55 +0200 Subject: [PATCH] fmt(): fix grouping.. (sendout(): FIX, recode and implement *add-file-recipients*.., 2012-10-04) reordered a conditional but messed with grouping. --- sendout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sendout.c b/sendout.c index 01f23d55..071fee68 100644 --- a/sendout.c +++ b/sendout.c @@ -1345,8 +1345,8 @@ fmt(char *str, struct name *np, FILE *fo, int flags, int dropinvalid, if (col) { fwrite(str, sizeof *str, strlen(str), fo); if ((flags&GFILES) == 0 && ! value("add-file-recipients") && - ((col == 3 && (asccasecmp(str, "to:") == 0) || - asccasecmp(str, "cc:") == 0) || + ((col == 3 && ((asccasecmp(str, "to:") == 0) || + asccasecmp(str, "cc:") == 0)) || (col == 4 && asccasecmp(str, "bcc:") == 0) || (col == 10 && asccasecmp(str, "Resent-To:") == 0))) -- 2.11.4.GIT