pidgin: 42df8ef1: Fix a printf argument order bug uncovere...

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sun Mar 16 22:15:39 EDT 2008


-----------------------------------------------------------------
Revision: 42df8ef15f4603d876ab1d764ffb91b9fc071840
Ancestor: 50671ff813e20c737448d900013ebb7206fca054
Author: nosnilmot at pidgin.im
Date: 2008-03-17T02:12:31
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/42df8ef15f4603d876ab1d764ffb91b9fc071840

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

ChangeLog: 

Fix a printf argument order bug uncovered by the fantastic G_GNUC_PRINTF
things Mark added to our debug stuff.

-------------- next part --------------
============================================================
--- libpurple/protocols/qq/send_core.c	b3a719acc6a326b39b9b58f390ff429c64aa46dc
+++ libpurple/protocols/qq/send_core.c	88d77dc6c841adedbbc1d42e27894c6f519a4675
@@ -87,7 +87,7 @@ gint _qq_send_packet(PurpleConnection *g
 		if (len > MAX_PACKET_SIZE) {
 			purple_debug(PURPLE_DEBUG_ERROR, "QQ",
 				   "xxx [%05d] %s, %d bytes is too large, do not send\n",
-				   qq_get_cmd_desc(cmd), qd->send_seq, len);
+				   qd->send_seq, qq_get_cmd_desc(cmd), len);
 			return -1;
 		} else {	/* I update the len for TCP packet */
 			cursor = buf;


More information about the Commits mailing list