mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
use specifyEncoded properly
svn path=/trunk/kdesupport/qca/; revision=683026
This commit is contained in:
parent
d320c70b3c
commit
fab528b69b
@ -269,8 +269,9 @@ private slots:
|
||||
|
||||
void ssl_readyReadOutgoing()
|
||||
{
|
||||
QByteArray outgoingData = ssl->readOutgoing();
|
||||
layer.specifyEncoded( outgoingData.size(), ssl->bytesOutgoingAvailable());
|
||||
int plainBytes;
|
||||
QByteArray outgoingData = ssl->readOutgoing(&plainBytes);
|
||||
layer.specifyEncoded( outgoingData.size(), plainBytes );
|
||||
sock->write( outgoingData );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user