[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.3/kdenetwork/kopete/protocols/yahoo/libkyahoo
From: Roman Jarosz <kedgedev () gmail ! com>
Date: 2009-11-03 23:43:35
Message-ID: 1257291815.894510.3931.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1044534 by rjarosz:
Backport commit 1044526.
Disconnect signals on reset so we don't get signals twice on reconnect.
Check if d->bs is not null.
CCBUG: 188042
M +4 -0 yahooclientstream.cpp
--- branches/KDE/4.3/kdenetwork/kopete/protocols/yahoo/libkyahoo/yahooclientstream.cpp #1044533:1044534
@@ -135,6 +135,7 @@
// reset connector
if(d->bs) {
+ disconnect(d->bs, 0, this, 0);
d->bs->close();
d->bs = 0;
}
@@ -296,6 +297,9 @@
void ClientStream::cp_outgoingData( const QByteArray& outgoingBytes )
{
+ if ( !d->bs )
+ return;
+
// take formatted bytes from CoreProtocol and put them on the wire
kDebug(YAHOO_RAW_DEBUG) << "[data size: " << outgoingBytes.size() << "]";
//cs_dump( outgoingBytes );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic