Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/libfaim/aim_search.c Wed Dec 13 00:51:37 2000 +0000 +++ b/libfaim/aim_search.c Wed Dec 13 03:31:15 2000 +0000 @@ -28,20 +28,8 @@ aim_tx_enqueue(sess, newpacket); - { - struct aim_snac_t snac; - - snac.id = sess->snac_nextid; - snac.family = 0x000a; - snac.type = 0x0002; - snac.flags = 0x0000; + aim_cachesnac(sess, 0x000a, 0x0002, 0x0000, address, strlen(address)+1); - snac.data = malloc(strlen(address)+1); - memcpy(snac.data, address, strlen(address)+1); - - aim_newsnac(sess, &snac); - } - - return (sess->snac_nextid++); + return sess->snac_nextid; }