diff libpurple/protocols/qq/packet_parse.c @ 24143:c2253c485728

2008.10.04 - ccpaging <ccpagint(at)gmail.com> * Update protocol for 2007 * Code cleanup
author SHiNE CsyFeK <csyfek@gmail.com>
date Wed, 22 Oct 2008 14:47:39 +0000
parents 619ac2303c46
children ec3f7d3e0445
line wrap: on
line diff
--- a/libpurple/protocols/qq/packet_parse.c	Wed Oct 22 14:46:44 2008 +0000
+++ b/libpurple/protocols/qq/packet_parse.c	Wed Oct 22 14:47:39 2008 +0000
@@ -151,10 +151,7 @@
  * return the number of bytes packed, otherwise return -1 */
 gint qq_put32(guint8 *buf, guint32 dw)
 {
-	guint32 dw_dest;
-	memcpy(&dw_dest, buf, sizeof(dw_dest));
-
-    guint32 dw_porter;
+	guint32 dw_porter;
     dw_porter = g_htonl(dw);
 #ifdef PARSER_DEBUG
 	purple_debug_info("QQ", "[DBG][put32] buf %p\n", (void *)buf);