# HG changeset patch # User Christian Hammond # Date 1058856361 0 # Node ID 4d977ac75f7633c10e1e5b856eaa3d6bcf6ab852 # Parent a5a43d03cb5194a2bd59b5bca71b62d1ce75e43f [gaim-migrate @ 6762] And of course I used a deprecated function. committer: Tailor Script diff -r a5a43d03cb51 -r 4d977ac75f76 src/pounce.c --- 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; }