* messages.c: Fix crash when trying to use m<Y> next
authorMichael Hampton <io_error@uncensored.citadel.org>
Mon, 10 May 2004 01:47:11 +0000 (01:47 +0000)
committerMichael Hampton <io_error@uncensored.citadel.org>
Mon, 10 May 2004 01:47:11 +0000 (01:47 +0000)
citadel/ChangeLog
citadel/messages.c

index a19ed1b10e3597b171f40ba9c5cb5dd2662508e7..f60055a3feb2fd40ddb04b015fd5ae978f4d7795 100644 (file)
@@ -1,4 +1,7 @@
  $Log$
+ Revision 620.31  2004/05/10 01:47:11  error
+ * messages.c: Fix crash when trying to use m<Y> next
+
  Revision 620.30  2004/05/07 20:27:46  ajc
  # citadel-openldap.schema: updated to include RFC2739 objects & attributes
 
@@ -5752,4 +5755,3 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
 
 Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
        * Initial CVS import
-
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);