# HG changeset patch # User masca@cpw.pidgin.im # Date 1277104285 0 # Node ID c83902e953c445ccfee1e0903f0d11f2c271225f # Parent ead7b8c19725706c2ba2c31175e4f82d9d30ada9 Fix a bad behavior when talking with users using multiple locations. The passport needs to be normalized before being compared. Reported by Darryl Pogue (dvpdiner2) with fix idea. Thanks! diff -r ead7b8c19725 -r c83902e953c4 libpurple/protocols/msn/user.c --- a/libpurple/protocols/msn/user.c Sat Jun 19 23:55:16 2010 +0000 +++ b/libpurple/protocols/msn/user.c Mon Jun 21 07:11:25 2010 +0000 @@ -24,6 +24,7 @@ #include "internal.h" #include "debug.h" +#include "util.h" #include "user.h" #include "slp.h" @@ -673,7 +674,7 @@ pass = msn_user_get_passport(user); - return strcmp(pass, passport); + return strcmp(pass, purple_normalize_nocase(NULL, passport)); } gboolean