From: Sean E. <sea...@us...> - 2002-03-20 17:17:12
|
Update of /cvsroot/gaim/gaim/src/protocols/oscar In directory usw-pr-cvs1:/tmp/cvs-serv22026/src/protocols/oscar Modified Files: ssi.c Log Message: 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. Index: ssi.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/oscar/ssi.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- ssi.c 7 Mar 2002 02:19:38 -0000 1.5 +++ ssi.c 20 Mar 2002 17:17:09 -0000 1.6 @@ -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); |