soc.2010.msn-tlc: d22f5fd4: Fix a bad behavior when talking with use...
masca at cpw.pidgin.im
masca at cpw.pidgin.im
Mon Jun 21 03:16:53 EDT 2010
-----------------------------------------------------------------
Revision: d22f5fd47878d95ae78e4af780a6f648bd4d0d90
Ancestor: fadddca6bb1e4bdb7ae23d12715c3bf6fc7224ee
Author: masca at cpw.pidgin.im
Date: 2010-06-21T07:11:25
Branch: im.pidgin.soc.2010.msn-tlc
URL: http://d.pidgin.im/viewmtn/revision/info/d22f5fd47878d95ae78e4af780a6f648bd4d0d90
Modified files:
libpurple/protocols/msn/user.c
ChangeLog:
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!
-------------- next part --------------
============================================================
--- libpurple/protocols/msn/user.c c31a75fe7315debe3decb250c50f97ff6ee73d45
+++ libpurple/protocols/msn/user.c 7a8adbc873dbf780d5f1fdef316f3b493d78c7d6
@@ -24,6 +24,7 @@
#include "internal.h"
#include "debug.h"
+#include "util.h"
#include "user.h"
#include "slp.h"
@@ -673,7 +674,7 @@ msn_user_passport_cmp(MsnUser *user, con
pass = msn_user_get_passport(user);
- return strcmp(pass, passport);
+ return strcmp(pass, purple_normalize_nocase(NULL, passport));
}
gboolean
More information about the Commits
mailing list