Mercurial > pidgin
diff src/protocols/oscar/service.c @ 5948:1bebb8345bde
[gaim-migrate @ 6392]
I'm just going to commit these small changes before I start ripping
stuff apart trying to get available messages to work. It'll be fun,
you'll see.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 24 Jun 2003 03:49:11 +0000 |
parents | a747e9e0e2cf |
children | e4a5085fb870 |
line wrap: on
line diff
--- a/src/protocols/oscar/service.c Mon Jun 23 07:09:30 2003 +0000 +++ b/src/protocols/oscar/service.c Tue Jun 24 03:49:11 2003 +0000 @@ -788,14 +788,18 @@ return -EINVAL; if (msg) { - if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 4 + strlen(msg) + 2))) + if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_FLAP, 0x02, 10 + 4 + strlen(msg) + 8))) return -ENOMEM; snacid = aim_cachesnac(sess, 0x0001, 0x001e, 0x0000, NULL, 0); aim_putsnac(&fr->data, 0x0001, 0x001e, 0x0000, snacid); aimbs_put16(&fr->data, 0x001d); - aimbs_put16(&fr->data, strlen(msg)+2); + aimbs_put16(&fr->data, strlen(msg)+8); + aimbs_put16(&fr->data, 0x0002); + aimbs_put8(&fr->data, 0x04); + aimbs_put8(&fr->data, strlen(msg)+4); + aimbs_put16(&fr->data, strlen(msg)); aimbs_putraw(&fr->data, msg, strlen(msg)); aimbs_put16(&fr->data, 0x0000); } else {