pidgin.openq: 5cdd742b: Fix bug in send IM

ccpaging at pidgin.im ccpaging at pidgin.im
Wed Dec 3 23:21:08 EST 2008


-----------------------------------------------------------------
Revision: 5cdd742b263d7e8bc96f244b3e5c01e1ef8f07f4
Ancestor: 9617d93f213511b3bf1a985bbfc06fc6b5113c4a
Author: ccpaging at pidgin.im
Date: 2008-11-20T06:12:10
Branch: im.pidgin.pidgin.openq
URL: http://d.pidgin.im/viewmtn/revision/info/5cdd742b263d7e8bc96f244b3e5c01e1ef8f07f4

Modified files:
        libpurple/protocols/qq/group_im.c

ChangeLog: 

Fix bug in send IM

-------------- next part --------------
============================================================
--- libpurple/protocols/qq/group_im.c	cfd0b23ddeb87c0400ed543a7bef8abfc8558399
+++ libpurple/protocols/qq/group_im.c	04dde630c89413e2f8b48fb8be56b6aefaff9de3
@@ -308,8 +308,6 @@ static void request_room_send_im(PurpleC
 	bytes += qq_put16(raw_data + bytes, 0);
 	bytes += qq_putdata(raw_data + bytes, (guint8 *)msg, strlen(msg));
 	bytes += qq_put_im_tail(raw_data + bytes, fmt);
-	bytes += qq_put32(raw_data + bytes, 0);	/* unknown 4 bytes */
-
 	/* reset first two bytes */
 	qq_put16(raw_data, bytes - 2);
 
@@ -356,7 +354,7 @@ static void request_room_send_im_ex(Purp
 
 	/* reset first two bytes as length */
 	qq_put16(raw_data, bytes - 2);
-	
+
 	/*qq_show_packet("QQ_ROOM_CMD_SEND_IM_EX", raw_data, bytes); */
 	qq_send_room_cmd(gc, QQ_ROOM_CMD_SEND_IM_EX, room_id, raw_data, bytes);
 }
@@ -415,7 +413,7 @@ int qq_chat_send(PurpleConnection *gc, i
 	fmt = qq_im_fmt_new_by_purple(what);
 	frag_count = g_slist_length(segments);
 	frag_index = 0;
-/*	
+/*
 	if (frag_count <= 1) {
 */
 		for (it = segments; it; it = it->next) {


More information about the Commits mailing list