Mercurial > pidgin.yaz
diff libfaim/aim_info.c @ 1378:aedeb1218a0a
[gaim-migrate @ 1388]
libfaim has a bad cap for Games, update the TODO for Jabber stuff, and make autorecon.c work better, I hope
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 05 Jan 2001 00:17:43 +0000 |
parents | 4c5c2fcb83cd |
children | 829242e7348c |
line wrap: on
line diff
--- a/libfaim/aim_info.c Thu Jan 04 23:29:52 2001 +0000 +++ b/libfaim/aim_info.c Fri Jan 05 00:17:43 2001 +0000 @@ -126,7 +126,7 @@ /* Games */ {0x09, 0x46, 0x13, 0x4a, 0x4c, 0x7f, 0x11, 0xd1, - 0x22, 0x82, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}, + 0x82, 0x22, 0x44, 0x45, 0x53, 0x54, 0x00, 0x00}, }; faim_internal unsigned short aim_getcap(unsigned char *capblock, int buflen) @@ -153,7 +153,10 @@ } } if (!identified) { - printf("faim: unknown capability!\n"); + printf("faim: unknown capability "); + for (y = 0; y < 0x10; y++) + printf("%02x ", capblock[offset+y]); + printf("\n"); ret |= 0xff00; } @@ -374,6 +377,8 @@ break; outinfo->capabilities = aim_getcap(buf+i+4, len); + if (outinfo->capabilities & 0xff00) + printf("%s\n", outinfo->sn); } break;