Mercurial > pidgin.yaz
comparison src/protocols/oscar/rxqueue.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 | 751de30689ef |
children | c5c0f714d8bc |
comparison
equal
deleted
inserted
replaced
11252:55356a29cdd1 | 11253:7d31d61e6438 |
---|---|
111 /* | 111 /* |
112 * This shouldn't happen unless the socket breaks, the server breaks, | 112 * This shouldn't happen unless the socket breaks, the server breaks, |
113 * or we break. We must handle it just in case. | 113 * or we break. We must handle it just in case. |
114 */ | 114 */ |
115 if (aimbs_get8(&hdr) != 0x2a) { | 115 if (aimbs_get8(&hdr) != 0x2a) { |
116 faimdprintf(sess, 0, "Invalid FLAP frame received on FLAP connection!"); | 116 gaim_debug_misc("oscar", "Invalid FLAP frame received on FLAP connection!"); |
117 aim_conn_close(conn); | 117 aim_conn_close(conn); |
118 return -1; | 118 return -1; |
119 } | 119 } |
120 | 120 |
121 fr->hdr.flap.channel = aimbs_get8(&hdr); | 121 fr->hdr.flap.channel = aimbs_get8(&hdr); |
188 * function will break on them. | 188 * function will break on them. |
189 */ | 189 */ |
190 if (conn->type == AIM_CONN_TYPE_RENDEZVOUS) | 190 if (conn->type == AIM_CONN_TYPE_RENDEZVOUS) |
191 payloadlen = aim_get_command_rendezvous(sess, conn, fr); | 191 payloadlen = aim_get_command_rendezvous(sess, conn, fr); |
192 else if (conn->type == AIM_CONN_TYPE_LISTENER) { | 192 else if (conn->type == AIM_CONN_TYPE_LISTENER) { |
193 faimdprintf(sess, 0, "AIM_CONN_TYPE_LISTENER on fd %d\n", conn->fd); | 193 gaim_debug_misc("oscar", "AIM_CONN_TYPE_LISTENER on fd %d\n", conn->fd); |
194 free(fr); | 194 free(fr); |
195 return -1; | 195 return -1; |
196 } else | 196 } else |
197 payloadlen = aim_get_command_flap(sess, conn, fr); | 197 payloadlen = aim_get_command_flap(sess, conn, fr); |
198 | 198 |