# HG changeset patch # User Sadrul Habib Chowdhury # Date 1178847967 0 # Node ID 47a9ba4f43730494cec9a9287acb5054bd53e7b8 # Parent 3130a2cfe4e023c353d6f290e39d26cb298afcf2 Fix debug filtering. diff -r 3130a2cfe4e0 -r 47a9ba4f4373 finch/gntdebug.c --- a/finch/gntdebug.c Thu May 10 21:47:47 2007 +0000 +++ b/finch/gntdebug.c Fri May 11 01:46:07 2007 +0000 @@ -54,9 +54,9 @@ const char *str = gnt_entry_get_text(GNT_ENTRY(debug.search)); if (!str || !*str) return TRUE; - if (g_ascii_strcasecmp(str, category) == 0) + if (g_strrstr(category, str) != NULL) return TRUE; - if (g_ascii_strcasecmp(str, args) == 0) + if (g_strrstr(args, str) != NULL) return TRUE; return FALSE; }