Mercurial > pidgin
comparison libfaim/aim_rxhandlers.c @ 446:6d78b988b479
[gaim-migrate @ 456]
Can log into Oscar again. Thank god. I hate toc.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Fri, 30 Jun 2000 02:35:56 +0000 |
parents | e4c34ca88d9b |
children | 6e318907bcce |
comparison
equal
deleted
inserted
replaced
445:e4c34ca88d9b | 446:6d78b988b479 |
---|---|
2 * aim_rxhandlers.c | 2 * aim_rxhandlers.c |
3 * | 3 * |
4 * This file contains most all of the incoming packet handlers, along | 4 * This file contains most all of the incoming packet handlers, along |
5 * with aim_rxdispatch(), the Rx dispatcher. Queue/list management is | 5 * with aim_rxdispatch(), the Rx dispatcher. Queue/list management is |
6 * actually done in aim_rxqueue.c. | 6 * actually done in aim_rxqueue.c. |
7 * | |
8 * Changes by EWarmenhoven, Wed May 24 09:33:38 UTC 2000: | |
9 * - there were some "bleck" printf's i changed to faimdprintf's. | |
10 * | 7 * |
11 */ | 8 */ |
12 | 9 |
13 #include <faim/aim.h> | 10 #include <faim/aim.h> |
14 | 11 |
175 | 172 |
176 family = aimutil_get16(workingPtr->data+0); | 173 family = aimutil_get16(workingPtr->data+0); |
177 subtype= aimutil_get16(workingPtr->data+2); | 174 subtype= aimutil_get16(workingPtr->data+2); |
178 | 175 |
179 if((family < maxf) && (subtype+1 < maxs) && (literals[family][subtype] != NULL)) | 176 if((family < maxf) && (subtype+1 < maxs) && (literals[family][subtype] != NULL)) |
180 faimdprintf("bleck: null handler for %04x/%04x (%s)\n", family, subtype, literals[family][subtype+1]); | 177 printf("bleck: null handler for %04x/%04x (%s)\n", family, subtype, literals[family][subtype+1]); |
181 else | 178 else |
182 faimdprintf("bleck: null handler for %04x/%04x (no literal)\n",family,subtype); | 179 printf("bleck: null handler for %04x/%04x (no literal)\n",family,subtype); |
183 | 180 |
184 return 1; | 181 return 1; |
185 } | 182 } |
186 | 183 |
187 int aim_conn_addhandler(struct aim_session_t *sess, | 184 int aim_conn_addhandler(struct aim_session_t *sess, |