From 6ee8839fd9f57c6c97fa7e6e0d142d06c5ba09c3 Mon Sep 17 00:00:00 2001 From: Philipp Takacs Date: Wed, 28 Oct 2015 12:19:05 +0100 Subject: [PATCH] initialize mp in ismymbox --- sbr/addrsbr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.4