]> code.citadel.org Git - citadel.git/blobdiff - citadel/journaling.c
* Moved the "Content-Identifer" (sic) header out of the envelope journal
[citadel.git] / citadel / journaling.c
index f45d601c6fcc054b2b9d4388e744945a843011fe..5cba32940eeecf6719815b9065d01093499e3925 100644 (file)
@@ -136,11 +136,11 @@ void JournalRunQueueMsg(struct jnlq *jmsg) {
                         */
                        sprintf(message_text,
                                "Content-type: multipart/mixed; boundary=\"%s\"\r\n"
+                               "Content-Identifer: ExJournalReport\r\n"
                                "MIME-Version: 1.0\r\n"
                                "\n"
                                "--%s\r\n"
                                "Content-type: text/plain\r\n"
-                               "Content-Identifer: ExJournalReport\r\n"
                                "\r\n"
                                "Sender: %s "
                        ,
@@ -227,7 +227,7 @@ void JournalRunQueueMsg(struct jnlq *jmsg) {
  * Run the queue.
  */
 void JournalRunQueue(void) {
-       struct jnlq *jptr;
+       struct jnlq *jptr = NULL;
 
        while (jnlq != NULL) {
                begin_critical_section(S_JOURNAL_QUEUE);