From: Philipp Takacs Date: Wed, 28 Oct 2015 11:19:05 +0000 (+0100) Subject: initialize mp in ismymbox X-Git-Tag: mmh-0.2~13^2 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=6ee8839fd9f57c6c97fa7e6e0d142d06c5ba09c3;p=mmh initialize mp in ismymbox --- diff --git a/sbr/addrsbr.c b/sbr/addrsbr.c index 8915798..201e816 100644 --- a/sbr/addrsbr.c +++ b/sbr/addrsbr.c @@ -252,10 +252,10 @@ ismymbox(struct mailname *np) if (am == NULL) { mq.m_next = NULL; mq.m_mbox = getusername(); + mp = &mq; if ((am = context_find("alternate-mailboxes")) == NULL) { am = getusername(); } else { - mp = &mq; oops = 0; while ((cp = getname(am))) { if ((mp->m_next = getm(cp, NULL, 0, AD_NAME, NULL)) == NULL) {