changeset 9075:0d5206ffe86a

[gaim-migrate @ 9851] Fixed a privacy-related bug in MSN that affected blocking/permitting, which was due to case-sensitive string comparisons. Patch by Gudmundur Olafsson. 13:19:27 <Aquatopia> I block myself: aquatopia@hotmail.com 13:19:43 <Aquatopia> and when I wanna unblock me, I go to the tools | privacy window 13:20:05 <Aquatopia> and I add: Aquatopia@hotmail.com (I registered to MSN with an uppercase A) 13:20:28 <Aquatopia> the client compares aquatopia@hotmail.com from the server to Aquatopia@hotmail.com committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 26 May 2004 20:21:30 +0000
parents 2b64986f882b
children aad506cde4f3
files COPYRIGHT ChangeLog src/protocols/msn/msn.c
diffstat 3 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Wed May 26 19:54:32 2004 +0000
+++ b/COPYRIGHT	Wed May 26 20:21:30 2004 +0000
@@ -93,6 +93,7 @@
 Padraig O'Briain
 Christopher (siege) O'Brien
 Jon Oberheide
+Gudmundur Bjarni Olafsson
 Nathan (pianocomp81) Owens
 Matt Pandina
 Ricardo Fernandez Pascual
--- a/ChangeLog	Wed May 26 19:54:32 2004 +0000
+++ b/ChangeLog	Wed May 26 20:21:30 2004 +0000
@@ -33,6 +33,8 @@
 	* Novell protocol works on big endian machines (Novell)
 	* Massive rewrite of MSN support, which should fix a number of issues
 	  and make errors easier to interpret (Felipe Contreras)
+	* Fixed a privacy-related bug in MSN that affected blocking/permitting,
+	  which was due to case-sensitive string comparisons (Gudmundur Olafsson)
 	* ALT-F works correctly in the System Log Viewer (Stu Tomlinson)
 	* New tabs should scroll correctly again (Tim Ringenbach)
 	* Dialogs opened from a conversation window are now closed when
--- a/src/protocols/msn/msn.c	Wed May 26 19:54:32 2004 +0000
+++ b/src/protocols/msn/msn.c	Wed May 26 20:21:30 2004 +0000
@@ -812,7 +812,7 @@
 		return;
 	}
 
-	if (g_slist_find_custom(gc->account->deny, who, (GCompareFunc)strcmp))
+	if (g_slist_find_custom(gc->account->deny, who, (GCompareFunc)strcasecmp))
 	{
 		gaim_debug_info("msn", "Moving %s from BL to AL\n", who);
 		gaim_privacy_deny_remove(gc->account, who, TRUE);