changeset 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 b061bfc314bc
children 1e12a24b7f27
files src/protocols/oscar/ssi.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);