changeset 6265:4d977ac75f76

[gaim-migrate @ 6762] And of course I used a deprecated function. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 22 Jul 2003 06:46:01 +0000
parents a5a43d03cb51
children 57d1630ff885
files src/pounce.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/pounce.c	Tue Jul 22 06:44:30 2003 +0000
+++ b/src/pounce.c	Tue Jul 22 06:46:01 2003 +0000
@@ -376,7 +376,8 @@
 
 		if ((gaim_pounce_get_events(pounce) & events) &&
 			(gaim_pounce_get_pouncer(pounce) == pouncer) &&
-			!g_strcasecmp(gaim_pounce_get_pouncee(pounce), pouncee)) {
+			!g_strncasecmp(gaim_pounce_get_pouncee(pounce), pouncee,
+						   strlen(pouncee))) {
 
 			handler = g_hash_table_lookup(pounce_handlers, pounce->ui_type);
 
@@ -406,7 +407,8 @@
 
 		if ((gaim_pounce_get_events(pounce) & events) &&
 			(gaim_pounce_get_pouncer(pounce) == pouncer) &&
-			!g_strcasecmp(gaim_pounce_get_pouncee(pounce), pouncee)) {
+			!g_strncasecmp(gaim_pounce_get_pouncee(pounce), pouncee,
+						   strlen(pouncee))) {
 
 			return pounce;
 		}