Fixed typdo, r=ftang.
git-svn-id: svn://10.0.0.236/trunk@58816 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -712,7 +712,7 @@ convert_and_encode:
|
||||
// so we may over estimate (i.e. threshold may be smaller) but wrapping early is no problem, I think.
|
||||
|
||||
/*
|
||||
the 30 lenght is calculated as follows (I think)
|
||||
the 30 length is calculated as follows (I think)
|
||||
total: 30 = 7 + 11 + 8 + 4
|
||||
--------------------------------------
|
||||
Mime Part II tags: 7 = "=?...?B?...?="
|
||||
|
||||
@@ -101,7 +101,7 @@ extern "C" char *MIME_DecodeMimePartIIStr(const char *header, char *charset,
|
||||
*
|
||||
* @param header [IN] A header to encode (utf-8 Cstring).
|
||||
* @param mailCharset [IN] Charset name (in C string) to convert.
|
||||
* @param encodedWordSize [IN] Byte lenght limit of the output, ususally 72 (use kMIME_ENCODED_WORD_SIZE).
|
||||
* @param encodedWordSize [IN] Byte length limit of the output, ususally 72 (use kMIME_ENCODED_WORD_SIZE).
|
||||
* @return Encoded buffer (in C string) or NULL in case of error.
|
||||
*/
|
||||
char *MIME_EncodeMimePartIIStr(const char *header, const char* mailCharset, const PRInt32 encodedWordSize);
|
||||
|
||||
Reference in New Issue
Block a user