Wed, 20 Mar 2002 17:17:09 +0000
[gaim-migrate @ 3104]
Mark Doliner was entirely responsible for finding this problem. Jim Seymour had absolutely nothing to do with it.
It fixes ssi on big-endian platforms.
committer: Sean Egan <seanegan@pidgin.im>
| src/protocols/oscar/ssi.c | file | annotate | diff | comparison | revisions |
--- a/src/protocols/oscar/ssi.c Wed Mar 20 02:04:32 2002 +0000 +++ b/src/protocols/oscar/ssi.c Wed Mar 20 17:17:09 2002 +0000 @@ -820,7 +820,7 @@ free(tlv->value); tlv->value = (fu8_t *)malloc(sizeof(fu8_t)); } - memcpy(tlv->value, &permdeny, 1); + tlv->value[0] = permdeny; } else { /* Need to add the x00ca TLV to the TLV chain */ aim_addtlvtochain8((aim_tlvlist_t**)&cur->data, 0x00ca, permdeny);