Prepended the <no text> pseudomessage with an RFC822 newline
authorArt Cancro <ajc@citadel.org>
Mon, 6 Feb 2006 04:19:27 +0000 (04:19 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 6 Feb 2006 04:19:27 +0000 (04:19 +0000)
in order to prevent it from being treated as a header.

citadel/msgbase.c

index ce743e39fdef71051ffd47907f7f987640befc46..2ca19528c429f7ae6adb48c8598a8140c742bb25 100644 (file)
@@ -1004,7 +1004,7 @@ struct CtdlMessage *CtdlFetchMessage(long msgnum, int with_body)
                }
        }
        if (ret->cm_fields['M'] == NULL) {
-               ret->cm_fields['M'] = strdup("<no text>\n");
+               ret->cm_fields['M'] = strdup("\r\n\r\n (no text)\r\n");
        }
 
        /* Perform "before read" hooks (aborting if any return nonzero) */