From bc72f41e9fb60ae891bd56d17746674f758ff387 Mon Sep 17 00:00:00 2001 From: "Steffen \"Daode\" Nurpmeso" Date: Tue, 25 Sep 2012 19:48:09 +0200 Subject: [PATCH] Allow full "RFC 5322 address"es for -b and -c.. (Fix what -r passes through to MTA.., 2012-09-18) allowed to give a full RFC (said 5322 as it is the current) "address" as an argument to -r, rather than only the plain "addr-spec", e.g., "Foo Bar " instead of "foo@bar.foo". This commit adds this possibility for -b and -c. --- main.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index dfbf9456..ca04ee05 100644 --- a/main.c +++ b/main.c @@ -332,14 +332,15 @@ main(int argc, char *argv[]) /* * Get Carbon Copy Recipient list */ - cc = checkaddrs(cat(cc, extract(optarg, GCC|GFULL))); + cc = checkaddrs(cat(cc, sextract(optarg, GCC|GFULL))); sendflag++; break; case 'b': /* * Get Blind Carbon Copy Recipient list */ - bcc = checkaddrs(cat(bcc, extract(optarg, GBCC|GFULL))); + bcc = checkaddrs(cat(bcc, + sextract(optarg, GBCC|GFULL))); sendflag++; break; case 'h': -- 2.11.4.GIT