X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/8a14191c0a0ad15bb8f35b49748c75c1e0a8c2f4..e4990ecc1ff236e73d8a44f37c2744c772b95875:/sbr/addrsbr.c diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index 86b18a14..f63848b3 100644 --- a/sbr/addrsbr.c +++ b/sbr/addrsbr.c @@ -301,21 +301,18 @@ ismymbox (struct mailname *np) localmailbox++; if ((cp = getname(am)) == NULL) { - admonish (NULL, "Unable to find address in local-mailbox"); + inform("Unable to find address in local-mailbox, continuing..."); return 0; } if ((mq.m_next = getm (cp, NULL, 0, NULL, 0)) == NULL) { - admonish (NULL, "invalid entry in local-mailbox: %s", cp); + inform("invalid entry in local-mailbox: %s, continuing...", cp); return 0; } - /* - * Sigh, it turns out that the address parser gets messed up - * if you don't call getname() until it returns NULL. - */ - - while ((cp = getname(am)) != NULL) + /* Sigh, it turns out that the address parser gets messed up + * if you don't call getname() until it returns NULL. */ + while (getname(am) != NULL) ; } @@ -326,7 +323,7 @@ ismymbox (struct mailname *np) oops = 0; while ((cp = getname (am))) { if ((mp->m_next = getm (cp, NULL, 0, NULL, 0)) == NULL) { - admonish (NULL, "illegal address: %s", cp); + inform("illegal address: %s, continuing...", cp); oops++; } else { mp = mp->m_next;