Fixed base64 line breaking at a length.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5806 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
50eb96f454
commit
2207398b6c
|
@ -93,6 +93,7 @@ static inline void addEnc(String& dest, unsigned int& idx, unsigned char ch,
|
|||
unsigned int& lines, unsigned int& crtLine, unsigned int lineLen)
|
||||
{
|
||||
((char*)dest.c_str())[idx++] = s_alphabet[ch & 0x3f];
|
||||
crtLine++;
|
||||
addEoln(dest,idx,lines,crtLine,lineLen);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue