Mercurial > masqmail
diff src/accept.c @ 268:7b12d081b939
removed ACC_DEL_RCPTS because it's always used with ACC_RCPT_FROM_HEAD
They are used for -t and always together.
author | markus schnalke <meillo@marmaro.de> |
---|---|
date | Fri, 03 Dec 2010 11:40:58 -0300 |
parents | 409552c5647f |
children | fd1d77e5a5da |
line wrap: on
line diff
--- a/src/accept.c Fri Dec 03 11:37:01 2010 -0300 +++ b/src/accept.c Fri Dec 03 11:40:58 2010 -0300 @@ -59,9 +59,7 @@ The -t option: The ACC_RCPT_FROM_HEAD flag adds the recipients found in To/Cc/Bcc - headers to the recipients list. - The ACC_DEL_RCPTS flag makes only sense if the ACC_RCPT_FROM_HEAD - flag is given too. With ACC_DEL_RCPTS the recipients given on the + headers to the recipients list. The recipients given on the command line are removed from the ones given in headers. */ @@ -212,7 +210,7 @@ } /* -t option (see comment above) */ - if (flags & ACC_DEL_RCPTS) { + if (flags & ACC_RCPT_FROM_HEAD) { non_rcpt_list = msg->rcpt_list; msg->rcpt_list = NULL; } @@ -326,8 +324,9 @@ } } - if (flags & ACC_DEL_RCPTS) { - /* remove the recipients given on the command line from the ones given in headers + if (flags & ACC_RCPT_FROM_HEAD) { + /* remove the recipients given on the command line + from the ones given in headers -t option (see comment above) */ GList *rcpt_node; foreach(non_rcpt_list, rcpt_node) {