зеркало из https://github.com/mozilla/pjs.git
fixed bug 45727 -- Problems with download (POP) truncated msg from folder other than Inbox; disable fileters while downloading truncated message; bullet prove to prevent accessing empty string buffer; r=mscott
This commit is contained in:
Родитель
6a13f1007b
Коммит
e32462749b
|
@ -179,6 +179,9 @@ nsPop3Sink::BeginMailDelivery(PRBool uidlDownload, PRBool* aBool)
|
|||
rv = NS_OK;
|
||||
}
|
||||
|
||||
if (uidlDownload && m_newMailParser)
|
||||
m_newMailParser->DisableFilters();
|
||||
|
||||
#ifdef DEBUG
|
||||
printf("Begin mail message delivery.\n");
|
||||
#endif
|
||||
|
|
|
@ -791,6 +791,8 @@ mime_set_url_part(const char *url, char *part, PRBool append_p)
|
|||
const char *s;
|
||||
char *result;
|
||||
|
||||
if (!url || !part) return 0;
|
||||
|
||||
for (s = url; *s; s++)
|
||||
{
|
||||
if (*s == '?')
|
||||
|
|
Загрузка…
Ссылка в новой задаче