X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b40ecb4417e49cbc53459b28ee394a3b2eb93c9c..de237d4dc2cafee55bd50a15fbeb2d7a880a87cf:/uip/replsbr.c diff --git a/uip/replsbr.c b/uip/replsbr.c index fe79c295..3f40a614 100644 --- a/uip/replsbr.c +++ b/uip/replsbr.c @@ -384,10 +384,10 @@ insert (struct mailname *np) return 0; for (mp = &mq; mp->m_next; mp = mp->m_next) { - if (!strcasecmp (np->m_host ? np->m_host : "", - mp->m_next->m_host ? mp->m_next->m_host : "") && - !strcasecmp (np->m_mbox ? np->m_mbox : "", - mp->m_next->m_mbox ? mp->m_next->m_mbox : "")) + if (!strcasecmp (FENDNULL(np->m_host), + FENDNULL(mp->m_next->m_host)) && + !strcasecmp (FENDNULL(np->m_mbox), + FENDNULL(mp->m_next->m_mbox))) return 0; } if (!ccme && ismymbox (np))