Mercurial > pidgin
diff src/protocols/oscar/locate.c @ 10990:8d74ae785a46
[gaim-migrate @ 12828]
More compile warning getting rid of. Also fix the crash from my last
batch of comile warning getting rid ofs.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 09 Jun 2005 04:33:52 +0000 |
parents | ecc0f22db510 |
children | 1798ad0be460 |
line wrap: on
line diff
--- a/src/protocols/oscar/locate.c Thu Jun 09 04:15:22 2005 +0000 +++ b/src/protocols/oscar/locate.c Thu Jun 09 04:33:52 2005 +0000 @@ -827,7 +827,7 @@ return -EINVAL; aimbs_put8(bs, strlen(info->sn)); - aimbs_putraw(bs, info->sn, strlen(info->sn)); + aimbs_putstr(bs, info->sn); aimbs_put16(bs, info->warnlevel); @@ -1239,7 +1239,7 @@ aim_putsnac(&fr->data, 0x0002, 0x000b, 0x0000, snacid); aimbs_put8(&fr->data, strlen(sn)); - aimbs_putraw(&fr->data, sn, strlen(sn)); + aimbs_putstr(&fr->data, sn); aim_tx_enqueue(sess, fr); @@ -1319,7 +1319,7 @@ aim_putsnac(&fr->data, 0x0002, 0x0015, 0x0000, snacid); aimbs_put32(&fr->data, flags); aimbs_put8(&fr->data, strlen(sn)); - aimbs_putraw(&fr->data, sn, strlen(sn)); + aimbs_putstr(&fr->data, sn); aim_tx_enqueue(sess, fr);