Mercurial > pidgin
comparison src/protocols/oscar/ssi.c @ 3090:25c2f11e92fa
[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: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Wed, 20 Mar 2002 17:17:09 +0000 |
parents | f0e8770d786d |
children | 51f49dcbd14b |
comparison
equal
deleted
inserted
replaced
3089:b061bfc314bc | 3090:25c2f11e92fa |
---|---|
818 if (tlv->length != 1) { | 818 if (tlv->length != 1) { |
819 tlv->length = 1; | 819 tlv->length = 1; |
820 free(tlv->value); | 820 free(tlv->value); |
821 tlv->value = (fu8_t *)malloc(sizeof(fu8_t)); | 821 tlv->value = (fu8_t *)malloc(sizeof(fu8_t)); |
822 } | 822 } |
823 memcpy(tlv->value, &permdeny, 1); | 823 tlv->value[0] = permdeny; |
824 } else { | 824 } else { |
825 /* Need to add the x00ca TLV to the TLV chain */ | 825 /* Need to add the x00ca TLV to the TLV chain */ |
826 aim_addtlvtochain8((aim_tlvlist_t**)&cur->data, 0x00ca, permdeny); | 826 aim_addtlvtochain8((aim_tlvlist_t**)&cur->data, 0x00ca, permdeny); |
827 } | 827 } |
828 | 828 |