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:
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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user