Mercurial > pidgin
comparison libfaim/aim_search.c @ 1248:920c86b753d7
[gaim-migrate @ 1258]
bah
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 13 Dec 2000 03:31:15 +0000 |
parents | 595ac7759563 |
children |
comparison
equal
deleted
inserted
replaced
1247:f50146ce818e | 1248:920c86b753d7 |
---|---|
26 | 26 |
27 aimutil_putstr(newpacket->data+10, address, strlen(address)); | 27 aimutil_putstr(newpacket->data+10, address, strlen(address)); |
28 | 28 |
29 aim_tx_enqueue(sess, newpacket); | 29 aim_tx_enqueue(sess, newpacket); |
30 | 30 |
31 { | 31 aim_cachesnac(sess, 0x000a, 0x0002, 0x0000, address, strlen(address)+1); |
32 struct aim_snac_t snac; | |
33 | |
34 snac.id = sess->snac_nextid; | |
35 snac.family = 0x000a; | |
36 snac.type = 0x0002; | |
37 snac.flags = 0x0000; | |
38 | 32 |
39 snac.data = malloc(strlen(address)+1); | 33 return sess->snac_nextid; |
40 memcpy(snac.data, address, strlen(address)+1); | |
41 | |
42 aim_newsnac(sess, &snac); | |
43 } | |
44 | |
45 return (sess->snac_nextid++); | |
46 } | 34 } |
47 | 35 |