Mercurial > pidgin.yaz
diff src/protocols/oscar/oscar.c @ 5211:0241d6b6702d
[gaim-migrate @ 5581]
Wrote a new debugging API, and of course core/ui split it. Debug statements
can now have debug levels and categories, for future filtering of stuff,
and color highlighting. It's nifty, m'kay?
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 26 Apr 2003 06:46:08 +0000 |
parents | 0a6912730d56 |
children | e807abdcee83 |
line wrap: on
line diff
--- a/src/protocols/oscar/oscar.c Sat Apr 26 05:31:26 2003 +0000 +++ b/src/protocols/oscar/oscar.c Sat Apr 26 06:46:08 2003 +0000 @@ -4549,10 +4549,13 @@ maxitems = va_arg(ap, fu16_t *); va_end(ap); - debug_printf("ssi rights:"); + gaim_debug(GAIM_DEBUG_MISC, "prpl-oscar", "ssi rights:"); + for (i=0; i<numtypes; i++) - debug_printf(" max type 0x%04x=%hd,", i, maxitems[i]); - debug_printf("\n"); + gaim_debug(GAIM_DEBUG_MISC, NULL, " max type 0x%04x=%hd,", + i, maxitems[i]); + + gaim_debug(GAIM_DEBUG_MISC, NULL, "\n"); if (numtypes >= 0) od->rights.maxbuddies = maxitems[0];