Mercurial > pidgin.yaz
changeset 20139:aea9ac30c0c5
Fix MSN File transfer size. Fixes #3095. thanks!
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 17 Sep 2007 22:09:22 +0000 |
parents | a5f1483395d1 |
children | 5dee4e3f09eb |
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 Mon Sep 17 22:02:17 2007 +0000 +++ b/libpurple/protocols/msn/slp.c Mon Sep 17 22:09:22 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) {