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

List:       kde-commits
Subject:    KDE/kdenetwork/kopete/protocols/qq
From:       Bartosz Fabianowski <freebsd () chillt ! de>
Date:       2006-09-26 17:23:30
Message-ID: 1159291410.965829.436.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 588714 by tolmaion:

BSD compile fix, which incidentally also fixes a memory leak.


 M  +1 -1      libeva.cpp  


--- trunk/KDE/kdenetwork/kopete/protocols/qq/libeva.cpp #588713:588714
@@ -154,7 +154,7 @@
 		ci.age = buffer[6];
 		ci.gender = buffer[7];
 		int nl = (int) buffer[8];
-		ci.nick = std::string( strndup( buffer+9, nl) );
+		ci.nick = std::string( buffer+9, nl );
 		// 2 bytes are unknown.
 		// 2 bytes are extFlag, commonFlag, ignored here.
 		len += 9+nl+4;
[prev in list] [next in list] [prev in thread] [next in thread] 

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