changeset 20196:256ab0f3921a

applied changes from 7b5a16e6ca65a8ccca846bc64c6e9606056d6d59 through bb3c9dec65d16afdcc4bcedd5fd184b7207cc624
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:03:51 +0000
parents cc5754b3bb8e
children 5d3b4da9b084
files libpurple/protocols/msn/slp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/slp.c	Fri Sep 28 15:03:31 2007 +0000
+++ b/libpurple/protocols/msn/slp.c	Fri Sep 28 15:03:51 2007 +0000
@@ -343,7 +343,7 @@
 		if (xfer)
 		{
 			bin = (char *)purple_base64_decode(context, &bin_len);
-			file_size = GUINT32_FROM_LE(*(gsize *)(bin + 2));
+			file_size = GUINT32_FROM_LE(*(gsize *)(bin + 8));
 
 			uni_name = (gunichar2 *)(bin + 20);
 			while(*uni_name != 0 && ((char *)uni_name - (bin + 20)) < MAX_FILE_NAME_LEN) {