| 648 aim_bstream_setpos(bs, 30); |
648 aim_bstream_setpos(bs, 30); |
| 649 flags = aimbs_get16(bs); |
649 flags = aimbs_get16(bs); |
| 650 |
650 |
| 651 aim_bstream_setpos(bs, 36); |
651 aim_bstream_setpos(bs, 36); |
| 652 /* XXX - create an aimbs_getnullstr function? */ |
652 /* XXX - create an aimbs_getnullstr function? */ |
| 653 snptr = aimbs_getstr(bs, MAXSNLEN); |
653 snptr = aimbs_getstr(bs, 32); /* Next 32 bytes contain the sn, padded with null chars */ |
| 654 |
654 |
| 655 faimdprintf(sess, 2, "faim: OFT frame: handlehdr_odc: %04x / %04x / %s\n", payloadlength, flags, snptr); |
655 faimdprintf(sess, 2, "faim: OFT frame: handlehdr_odc: %04x / %04x / %s\n", payloadlength, flags, snptr); |
| 656 |
656 |
| 657 if (flags & 0x0008) { |
657 if (flags & 0x0008) { |
| 658 if ((userfunc = aim_callhandler(sess, conn, AIM_CB_FAM_OFT, AIM_CB_OFT_DIRECTIMTYPING))) |
658 if ((userfunc = aim_callhandler(sess, conn, AIM_CB_FAM_OFT, AIM_CB_OFT_DIRECTIMTYPING))) |