зеркало из https://github.com/mozilla/gecko-dev.git
Bug 147697: assertion every time I send mail: generate_encodedwords(), output_carryoverlen must be > 0. r=ducarroz, s=bienvenu
This commit is contained in:
Родитель
2db174e2bf
Коммит
f1ce8f80b0
|
@ -191,8 +191,6 @@ static unsigned char * utf8_nextchar(unsigned char *str)
|
|||
static
|
||||
PRInt32 generate_encodedwords(char *pUTF8, const char *charset, char method, char *output, PRInt32 outlen, PRInt32 output_carryoverlen, PRInt32 foldlen, PRBool foldingonly)
|
||||
{
|
||||
NS_ASSERTION(output_carryoverlen > 0, "output_carryoverlen must be > 0");
|
||||
|
||||
nsCOMPtr <nsISaveAsCharset> conv;
|
||||
PRUnichar *_pUCS2 = nsnull, *pUCS2 = nsnull, *pUCS2Head = nsnull, cUCS2Tmp = 0;
|
||||
char *ibuf, *o = output;
|
||||
|
|
Загрузка…
Ссылка в новой задаче