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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/msn
From:       Carlo Segato <brandon.ml () gmail ! com>
Date:       2008-07-06 20:49:25
Message-ID: 1215377365.015990.12928.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 828868 by segato:

fix a crash when cancelling incoming file transfer with msn
BUG:127209


 M  +3 -0      incomingtransfer.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/msn/incomingtransfer.cpp #828867:828868
@@ -143,6 +143,9 @@
 {
 	if(m_file && (message.header.flag == 0x20 || message.header.flag == 0x01000030))
 	{
+		if(m_state == Finished) {
+			return;
+		}
 		// UserDisplayIcon data or File data is in this message.
 		// Write the received data to the file.
 		kDebug(14140) << QString("Received, %1 bytes").arg(message.header.dataSize);
[prev in list] [next in list] [prev in thread] [next in thread] 

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