changeset 21684:c6487d5385f9

Something is wrong about the way we truncate overlength passwords, and apparently it's not as simple as truncating prior to encoding, so just drop this for now. References #4066, #4103
author Stu Tomlinson <stu@nosnilmot.com>
date Wed, 28 Nov 2007 14:00:50 +0000
parents da540ae78214
children b08d0296ab88 6f4ffdc65230
files libpurple/protocols/msnp9/nexus.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msnp9/nexus.c	Wed Nov 28 09:05:07 2007 +0000
+++ b/libpurple/protocols/msnp9/nexus.c	Wed Nov 28 14:00:50 2007 +0000
@@ -338,7 +338,7 @@
 		g_strdup(purple_url_encode(purple_account_get_username(session->account)));
 
 	password =
-		g_strndup(purple_url_encode(purple_connection_get_password(session->account->gc)), 16);
+		g_strdup(purple_url_encode(purple_connection_get_password(session->account->gc)));
 
 	ctint = strtoul((char *)g_hash_table_lookup(nexus->challenge_data, "ct"), NULL, 10) + 200;