Mercurial > pidgin
comparison 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 |
comparison
equal
deleted
inserted
replaced
5210:39bb2a35f8d9 | 5211:0241d6b6702d |
---|---|
4547 va_start(ap, fr); | 4547 va_start(ap, fr); |
4548 numtypes = va_arg(ap, int); | 4548 numtypes = va_arg(ap, int); |
4549 maxitems = va_arg(ap, fu16_t *); | 4549 maxitems = va_arg(ap, fu16_t *); |
4550 va_end(ap); | 4550 va_end(ap); |
4551 | 4551 |
4552 debug_printf("ssi rights:"); | 4552 gaim_debug(GAIM_DEBUG_MISC, "prpl-oscar", "ssi rights:"); |
4553 | |
4553 for (i=0; i<numtypes; i++) | 4554 for (i=0; i<numtypes; i++) |
4554 debug_printf(" max type 0x%04x=%hd,", i, maxitems[i]); | 4555 gaim_debug(GAIM_DEBUG_MISC, NULL, " max type 0x%04x=%hd,", |
4555 debug_printf("\n"); | 4556 i, maxitems[i]); |
4557 | |
4558 gaim_debug(GAIM_DEBUG_MISC, NULL, "\n"); | |
4556 | 4559 |
4557 if (numtypes >= 0) | 4560 if (numtypes >= 0) |
4558 od->rights.maxbuddies = maxitems[0]; | 4561 od->rights.maxbuddies = maxitems[0]; |
4559 if (numtypes >= 1) | 4562 if (numtypes >= 1) |
4560 od->rights.maxgroups = maxitems[1]; | 4563 od->rights.maxgroups = maxitems[1]; |