4
0
mirror of https://github.com/QuasarApp/qca.git synced 2025-05-13 11:09:34 +00:00

only use encoded() if we have received encoded data

svn path=/trunk/kdesupport/qca/; revision=686122
This commit is contained in:
Justin Karneges 2007-07-10 18:16:06 +00:00
parent 68ff3782fa
commit 3a2725cdaf

@ -599,9 +599,12 @@ private slots:
bool more = false;
if(mode == TLS::Stream)
{
pending_write -= enc;
if(pending_write > 0)
more = true;
if(!a.isEmpty())
{
pending_write -= enc;
if(pending_write > 0)
more = true;
}
}
else
{