1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-26 16:22:06 +01:00

SMACK-349 The correct byte size is now calculated for outgoing ibb streams, taking into account the base64 encoding.

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/branches/smack_3_2_0@12859 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
rcollier 2011-10-09 01:38:09 +00:00
parent 3b47f94b35
commit 55f4eb68be

View file

@ -594,7 +594,7 @@ public class InBandBytestreamSession implements BytestreamSession {
* Constructor.
*/
public IBBOutputStream() {
this.buffer = new byte[byteStreamRequest.getBlockSize()];
this.buffer = new byte[(byteStreamRequest.getBlockSize()/4)*3];
}
/**