changeset 22492:0c2dd59f91d1

Fix a printf argument order bug uncovered by the fantastic G_GNUC_PRINTF things Mark added to our debug stuff.
author Stu Tomlinson <stu@nosnilmot.com>
date Mon, 17 Mar 2008 02:12:31 +0000
parents 633eabc7eff4
children 2c757739ee77 48e33e3673e2
files libpurple/protocols/qq/send_core.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/qq/send_core.c	Mon Mar 17 01:56:29 2008 +0000
+++ b/libpurple/protocols/qq/send_core.c	Mon Mar 17 02:12:31 2008 +0000
@@ -87,7 +87,7 @@
 		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;