From kde-commits Fri Feb 15 21:21:58 2008 From: Roman Jarosz Date: Fri, 15 Feb 2008 21:21:58 +0000 To: kde-commits Subject: KDE/kdenetwork/kopete/protocols/msn Message-Id: <1203110518.746072.6996.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=120311055601821 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.