[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.0/kdenetwork/kopete/protocols/yahoo/libkyahoo
From:       Andre Duffeck <andre () duffeck ! de>
Date:       2008-09-10 15:09:34
Message-ID: 1221059374.989868.14193.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 859538 by duffeck:

backport: fix crash when the account is logged in somewhere else
BUG:162090


 M  +2 -2      client.cpp  


--- branches/KDE/4.0/kdenetwork/kopete/protocols/yahoo/libkyahoo/client.cpp #859537:859538
@@ -221,12 +221,12 @@
 	d->active = false;
 
 	// Examine error
-	if( error == ClientStream::ErrConnection )			// Ask Connector in this case
+	if( error == ClientStream::ErrConnection && m_connector )			// Ask Connector in this case
 	{
 		d->error = m_connector->errorCode();
 		d->errorString = KSocketBase::errorString( (KSocketBase::SocketError)d->error );
 	}
-	else
+	else if( d->stream )
 	{
 		d->error = error;
 		d->errorString = d->stream->errorText();
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic