Mercurial > pidgin
comparison libfaim/aim_tlv.c @ 889:e1da6a6ec42b
[gaim-migrate @ 899]
Oscar works again
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Tue, 12 Sep 2000 20:21:36 +0000 |
parents | 595ac7759563 |
children | e18815f5a4e9 |
comparison
equal
deleted
inserted
replaced
888:38ffd1faa31a | 889:e1da6a6ec42b |
---|---|
347 curbyte += aimutil_put16(buf+curbyte, (u_short)0x0004); | 347 curbyte += aimutil_put16(buf+curbyte, (u_short)0x0004); |
348 curbyte += aimutil_put32(buf+curbyte, (u_long)(v&0xffffffff)); | 348 curbyte += aimutil_put32(buf+curbyte, (u_long)(v&0xffffffff)); |
349 return curbyte; | 349 return curbyte; |
350 } | 350 } |
351 | 351 |
352 faim_internal int aim_puttlv_str(u_char *buf, u_short t, u_short l, char *v) | 352 faim_internal int aim_puttlv_str(u_char *buf, u_short t, int l, char *v) |
353 { | 353 { |
354 int curbyte; | 354 int curbyte; |
355 | 355 |
356 curbyte = 0; | 356 curbyte = 0; |
357 curbyte += aimutil_put16(buf+curbyte, (u_short)(t&0xffff)); | 357 curbyte += aimutil_put16(buf+curbyte, (u_short)(t&0xffff)); |