comparison libfaim/aim_auth.c @ 445:e4c34ca88d9b

[gaim-migrate @ 455] Hehehehehe Libfaim got updated, gaim got updated. btw, gaim/faim can't sign in yet, don't ask me why. it's not my fault. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 29 Jun 2000 20:40:28 +0000
parents 0f14e6d8a51b
children 595ac7759563
comparison
equal deleted inserted replaced
444:e7885c54ed2f 445:e4c34ca88d9b
13 u_char *chipsahoy) 13 u_char *chipsahoy)
14 { 14 {
15 struct command_tx_struct *newpacket; 15 struct command_tx_struct *newpacket;
16 int curbyte=0; 16 int curbyte=0;
17 17
18 if (!(newpacket = aim_tx_new(0x0001, conn, 4+2+2+AIM_COOKIELEN))) 18 if (!(newpacket = aim_tx_new(AIM_FRAMETYPE_OSCAR, 0x0001, conn, 4+2+2+AIM_COOKIELEN)))
19 return -1; 19 return -1;
20 20
21 newpacket->lock = 1; 21 newpacket->lock = 1;
22 22
23 curbyte += aimutil_put16(newpacket->data+curbyte, 0x0000); 23 curbyte += aimutil_put16(newpacket->data+curbyte, 0x0000);
33 struct aim_conn_t *conn) 33 struct aim_conn_t *conn)
34 { 34 {
35 struct command_tx_struct *newpacket; 35 struct command_tx_struct *newpacket;
36 int curbyte = 0; 36 int curbyte = 0;
37 37
38 if (!(newpacket = aim_tx_new(0x0002, conn, 26))) 38 if (!(newpacket = aim_tx_new(AIM_FRAMETYPE_OSCAR, 0x0002, conn, 26)))
39 return -1; 39 return -1;
40 40
41 newpacket->lock = 1; 41 newpacket->lock = 1;
42 42
43 curbyte += aim_putsnac(newpacket->data+curbyte, 0x0001, 0x0002, 0x0000, sess->snac_nextid); 43 curbyte += aim_putsnac(newpacket->data+curbyte, 0x0001, 0x0002, 0x0000, sess->snac_nextid);
73 char *new, char *current) 73 char *new, char *current)
74 { 74 {
75 struct command_tx_struct *newpacket; 75 struct command_tx_struct *newpacket;
76 int i; 76 int i;
77 77
78 if (!(newpacket = aim_tx_new(0x0002, conn, 10+4+strlen(current)+4+strlen(new)))) 78 if (!(newpacket = aim_tx_new(AIM_FRAMETYPE_OSCAR, 0x0002, conn, 10+4+strlen(current)+4+strlen(new))))
79 return -1; 79 return -1;
80 80
81 newpacket->lock = 1; 81 newpacket->lock = 1;
82 82
83 i = aim_putsnac(newpacket->data, 0x0007, 0x0004, 0x0000, sess->snac_nextid); 83 i = aim_putsnac(newpacket->data, 0x0007, 0x0004, 0x0000, sess->snac_nextid);