Mercurial > pidgin
diff libpurple/protocols/msnp9/nexus.c @ 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 | f5874552b8d5 |
children | 85fbff54425e |
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;