Mercurial > pidgin
comparison libpurple/protocols/qq/send_core.c @ 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 | 44b4e8bd759b |
children | 217fffe3f46f |
comparison
equal
deleted
inserted
replaced
22491:633eabc7eff4 | 22492:0c2dd59f91d1 |
---|---|
85 | 85 |
86 if (qd->use_tcp) { | 86 if (qd->use_tcp) { |
87 if (len > MAX_PACKET_SIZE) { | 87 if (len > MAX_PACKET_SIZE) { |
88 purple_debug(PURPLE_DEBUG_ERROR, "QQ", | 88 purple_debug(PURPLE_DEBUG_ERROR, "QQ", |
89 "xxx [%05d] %s, %d bytes is too large, do not send\n", | 89 "xxx [%05d] %s, %d bytes is too large, do not send\n", |
90 qq_get_cmd_desc(cmd), qd->send_seq, len); | 90 qd->send_seq, qq_get_cmd_desc(cmd), len); |
91 return -1; | 91 return -1; |
92 } else { /* I update the len for TCP packet */ | 92 } else { /* I update the len for TCP packet */ |
93 cursor = buf; | 93 cursor = buf; |
94 create_packet_w(buf, &cursor, len); | 94 create_packet_w(buf, &cursor, len); |
95 } | 95 } |