Mercurial > pidgin.yaz
comparison libpurple/protocols/qq/utils.c @ 24398:0320b4a33432
Backport the 'purple_debug_*(msg)' -> 'purple_debug_*("%s", msg);' fixes.
applied changes from fef93b50fe2b6c172be07648cbc70b62a42fcfff
through 111d22afa901c48464e4da4d37d1cca3381ae162
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 16 Nov 2008 06:50:19 +0000 |
parents | 7c0a56c5fea0 |
children | fecedf6d9ee1 |
comparison
equal
deleted
inserted
replaced
24394:fae699fece1f | 24398:0320b4a33432 |
---|---|
323 va_start(args, format); | 323 va_start(args, format); |
324 arg_s = g_strdup_vprintf(format, args); | 324 arg_s = g_strdup_vprintf(format, args); |
325 va_end(args); | 325 va_end(args); |
326 | 326 |
327 if (bytes <= 0) { | 327 if (bytes <= 0) { |
328 purple_debug(level, category, arg_s); | 328 purple_debug(level, category, "%s", arg_s); |
329 return; | 329 return; |
330 } | 330 } |
331 | 331 |
332 phex = hex_dump_to_str(pdata, bytes); | 332 phex = hex_dump_to_str(pdata, bytes); |
333 purple_debug(level, category, "%s - (len %d)\n%s", arg_s, bytes, phex); | 333 purple_debug(level, category, "%s - (len %d)\n%s", arg_s, bytes, phex); |