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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo
From:       Igor Poboiko <igor.poboiko () gmail ! com>
Date:       2010-10-01 14:20:22
Message-ID: 20101001142022.46EEDAC891 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1181622 by poboiko:

Add null pointer check
CCBUG: 250586


 M  +1 -1      yabtask.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/yahoo/libkyahoo/yabtask.cpp \
#1181621:1181622 @@ -113,7 +113,7 @@
 
 void YABTask::slotResult( KJob* job )
 {
-	if( job->error () || m_transferJob->isErrorPage () )
+	if( job->error () || ( m_transferJob && m_transferJob->isErrorPage() ) )
 	{
 		kDebug(YAHOO_RAW_DEBUG) << "Could not retrieve server side addressbook for user \
info.";  client()->notifyError( i18n( "Could not retrieve server side address book \
for user info." ), job->errorString(), Client::Info );


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

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