]> code.citadel.org Git - citadel.git/blobdiff - citadel/messages.c
* messages.c: Fix crash when trying to use m<Y> next
[citadel.git] / citadel / messages.c
index 108638879d493010a9f05e6a5709a3f75ca39d69..af01c502ef0e7df76b2492d7494a22bd167acec4 100644 (file)
@@ -1817,7 +1817,7 @@ RMSGREAD: scr_flush();
                   We have to load up messages until we find one by us */
                char buf[SIZ];
                int founda = 0;
-               struct ctdlipcmessage *msg;
+               struct ctdlipcmessage *msg = NULL;
                 
                /* read the header so we can get 'from=' */
                r = CtdlIPCGetSingleMessage(ipc, msg_arr[finda], 1, 0, &msg, buf);