changeset 8934:535449a13b07

[gaim-migrate @ 9704] Oscar direct connect changes from Tim that should make things gooder. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 15 May 2004 20:45:20 +0000
parents 6663ad2386d9
children efbee137f245
files src/protocols/oscar/ft.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/ft.c	Sat May 15 14:00:31 2004 +0000
+++ b/src/protocols/oscar/ft.c	Sat May 15 20:45:20 2004 +0000
@@ -249,7 +249,7 @@
 	if (!(fr = aim_tx_new(sess, conn, AIM_FRAMETYPE_OFT, 0x0001, 0)))
 		return -ENOMEM;
 	memcpy(fr->hdr.rend.magic, "ODC2", 4);
-	fr->hdr.rend.hdrlen = hdrlen;
+	fr->hdr.rend.hdrlen = hdrlen + 8;
 
 	if (!(hdr = calloc(1, hdrlen))) {
 		aim_frame_destroy(fr);
@@ -328,7 +328,7 @@
 		return -ENOMEM;
 
 	memcpy(fr->hdr.rend.magic, "ODC2", 4);
-	fr->hdr.rend.hdrlen = hdrlen;
+	fr->hdr.rend.hdrlen = hdrlen + 8;
 
 	if (!(hdr = calloc(1, hdrlen + len))) {
 		aim_frame_destroy(fr);