minor fix for previous checkin
authorArt Cancro <ajc@citadel.org>
Sat, 22 Oct 2005 04:59:41 +0000 (04:59 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 22 Oct 2005 04:59:41 +0000 (04:59 +0000)
citadel/msgbase.c

index cb11932aa681b931822b0689821f257cef82bb65..dfb033cef4da19bb58661dfe4652144e46ac6378 100644 (file)
@@ -1313,7 +1313,7 @@ int CtdlOutputMsg(long msg_num,           /* message number (local) to fetch */
        /* Here is the weird form of this command, to process only an
         * encapsulated message/rfc822 section.
         */
-       if (section) {
+       if (section) if (strlen(section)>0) if (strcmp(section, "0")) {
                memset(&encap, 0, sizeof encap);
                safestrncpy(encap.desired_section, section, sizeof encap.desired_section);
                mime_parser(TheMessage->cm_fields['M'],