comparison libpurple/protocols/qq/utils.c @ 25324:9290eb3e07bf

More purple_debug printf(msg) fixes. I must have a newer GCC or something...
author Richard Laager <rlaager@wiktel.com>
date Fri, 14 Nov 2008 06:05:21 +0000
parents 7c0a56c5fea0
children fecedf6d9ee1
comparison
equal deleted inserted replaced
25323:3b76a175a858 25324:9290eb3e07bf
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);