Mercurial > pidgin.yaz
diff libfaim/aim_login.c @ 248:cfc73b8501a7
[gaim-migrate @ 258]
Oscar chat is there now. Adam will be happy, that's the only thing he asked
me specifically about.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sun, 21 May 2000 11:58:18 +0000 |
parents | 6ced2f1c8b24 |
children | 0f14e6d8a51b |
line wrap: on
line diff
--- a/libfaim/aim_login.c Sat May 20 23:00:20 2000 +0000 +++ b/libfaim/aim_login.c Sun May 21 11:58:18 2000 +0000 @@ -322,7 +322,7 @@ struct command_tx_struct *tx; struct aim_tlvlist_t *tlvlist = NULL; - if (!(tx = aim_tx_new(0x0001 /*right??*/, conn, 1152))) + if (!(tx = aim_tx_new(0x0004, conn, 1152))) return -1; tx->lock = 1; @@ -370,16 +370,12 @@ struct command_tx_struct *tx; int i = 0; - if (!(tx = aim_tx_new(0x0002, conn, 10+0x20))) + if (!(tx = aim_tx_new(0x0002, conn, 10+0x22))) return -1; tx->lock = 1; - i += aimutil_put16(tx->data+i, 0x0001); - i += aimutil_put16(tx->data+i, 0x0003); - i += aimutil_put16(tx->data+i, 0x0000); - i += aimutil_put16(tx->data+i, 0x0000); - i += aimutil_put16(tx->data+i, 0x0000); + i += aim_putsnac(tx->data, 0x0001, 0x0003, 0x0000, sess->snac_nextid++); i += aimutil_put16(tx->data+i, 0x0001); i += aimutil_put16(tx->data+i, 0x0002); @@ -391,9 +387,11 @@ i += aimutil_put16(tx->data+i, 0x000a); i += aimutil_put16(tx->data+i, 0x000b); i += aimutil_put16(tx->data+i, 0x000c); + i += aimutil_put16(tx->data+i, 0x0013); + i += aimutil_put16(tx->data+i, 0x0015); + tx->commandlen = i; tx->lock = 0; - return aim_tx_enqueue(sess, tx); }