Mercurial > pidgin
comparison src/protocols/oscar/chat.c @ 11253:7d31d61e6438
[gaim-migrate @ 13422]
Get rid of faimdprintf and use gaim_debug functions instead
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 13 Aug 2005 06:43:45 +0000 |
parents | bd8ac1d4b2f2 |
children | 59207955adc2 |
comparison
equal
deleted
inserted
replaced
11252:55356a29cdd1 | 11253:7d31d61e6438 |
---|---|
50 struct chatconnpriv *ccp = (struct chatconnpriv *)cur->internal; | 50 struct chatconnpriv *ccp = (struct chatconnpriv *)cur->internal; |
51 | 51 |
52 if (cur->type != AIM_CONN_TYPE_CHAT) | 52 if (cur->type != AIM_CONN_TYPE_CHAT) |
53 continue; | 53 continue; |
54 if (!cur->internal) { | 54 if (!cur->internal) { |
55 faimdprintf(sess, 0, "faim: chat: chat connection with no name! (fd = %d)\n", cur->fd); | 55 gaim_debug_misc("oscar", "faim: chat: chat connection with no name! (fd = %d)\n", cur->fd); |
56 continue; | 56 continue; |
57 } | 57 } |
58 | 58 |
59 if (strcmp(ccp->name, name) == 0) | 59 if (strcmp(ccp->name, name) == 0) |
60 break; | 60 break; |
140 aim_chat_readroominfo(bs, &roominfo); | 140 aim_chat_readroominfo(bs, &roominfo); |
141 | 141 |
142 detaillevel = aimbs_get8(bs); | 142 detaillevel = aimbs_get8(bs); |
143 | 143 |
144 if (detaillevel != 0x02) { | 144 if (detaillevel != 0x02) { |
145 faimdprintf(sess, 0, "faim: chat_roomupdateinfo: detail level %d not supported\n", detaillevel); | 145 gaim_debug_misc("oscar", "faim: chat_roomupdateinfo: detail level %d not supported\n", detaillevel); |
146 return 1; | 146 return 1; |
147 } | 147 } |
148 | 148 |
149 tlvcount = aimbs_get16(bs); | 149 tlvcount = aimbs_get16(bs); |
150 | 150 |
467 * | 467 * |
468 */ | 468 */ |
469 channel = aimbs_get16(bs); | 469 channel = aimbs_get16(bs); |
470 | 470 |
471 if (channel != 0x0003) { | 471 if (channel != 0x0003) { |
472 faimdprintf(sess, 0, "faim: chat_incoming: unknown channel! (0x%04x)\n", channel); | 472 gaim_debug_misc("oscar", "faim: chat_incoming: unknown channel! (0x%04x)\n", channel); |
473 return 0; | 473 return 0; |
474 } | 474 } |
475 | 475 |
476 /* | 476 /* |
477 * Start parsing TLVs right away. | 477 * Start parsing TLVs right away. |