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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/msn
From:       Roman Jarosz <kedgedev () centrum ! cz>
Date:       2008-02-15 21:21:58
Message-ID: 1203110518.746072.6996.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 775453 by rjarosz:

Add missing null character, this fixes photo downloading from offcial MSN client.

CCBUG: 154972



 M  +1 -2      p2p.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/msn/p2p.cpp #775452:775453
@@ -313,8 +313,7 @@
 		content).toUtf8();
 
 	// NOTE The body must have a null character at the end.
-	// QCString by chance automatically adds a \0 to the
-	// end of the string.
+	body.append('\0');
 
 	outbound.header.totalDataSize = body.size();
 	// Send the outbound message.
[prev in list] [next in list] [prev in thread] [next in thread] 

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