* if we receive a text\n000 its a legal message. don't fright the user with "unexpect...
authorWilfried Göesgens <willi@citadel.org>
Sun, 7 Mar 2010 19:51:28 +0000 (19:51 +0000)
committerWilfried Göesgens <willi@citadel.org>
Sun, 7 Mar 2010 19:51:28 +0000 (19:51 +0000)
webcit/messages.c

index d09c88f9e76e10061d632b54c8c6bed069ea4d09..33f3a8f0108d91eec69e8355bb3960e92aaa0d18 100644 (file)
@@ -69,13 +69,12 @@ int load_message(message_summary *Msg,
                {
                        Done = 1;
                        if (state < 2) {
-                               lprintf(1, _("unexpected end of message"));
                                if (Msg->MsgBody->Data == NULL)
                                        Msg->MsgBody->Data = NewStrBuf();
                                Msg->MsgBody->ContentType = NewStrBufPlain(HKEY("text/html"));
                                StrBufAppendPrintf(Msg->MsgBody->Data, "<div><i>");
-                               StrBufAppendPrintf(Msg->MsgBody->Data, _("unexpected end of message"));
-                               StrBufAppendPrintf(Msg->MsgBody->Data, " (1)</i><br /><br />\n");
+                               StrBufAppendPrintf(Msg->MsgBody->Data, _("Empty message"));
+                               StrBufAppendPrintf(Msg->MsgBody->Data, "</i><br /><br />\n");
                                StrBufAppendPrintf(Msg->MsgBody->Data, "</div>\n");
                        }
                        break;