]> code.citadel.org Git - citadel.git/commitdiff
Really got things working nicely
authorArt Cancro <ajc@citadel.org>
Mon, 1 Feb 1999 02:33:27 +0000 (02:33 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 1 Feb 1999 02:33:27 +0000 (02:33 +0000)
citadel/msgbase.c

index 9a037ea3cacfd75195ee42d366c5af94caea38d9..07a4b6d4b1820ff23f9e06bb9a21377318c82677 100644 (file)
@@ -636,11 +636,15 @@ time_t output_message(char *msgid, int mode, int headers_only) {
                }
 
        /* do some sort of MIME output */
-       if ( (mode == MT_MIME) && (format_type == 4) ) {
-               mime_parser(mptr, NULL, *list_this_part);
-               cprintf("000\n");
-               cdb_free(dmsgtext);
-               return(xtime);
+       if (format_type == 4) {
+               if ((mode == MT_CITADEL)||(mode == MT_MIME)) {
+                       mime_parser(mptr, NULL, *list_this_part);
+                       }
+               if (mode == MT_MIME) { /* If MT_MIME then it's parts only */
+                       cprintf("000\n");
+                       cdb_free(dmsgtext);
+                       return(xtime);
+                       }
                }
 
        if (headers_only) {