gchar *searched_header = NULL;
not_killed = NULL;
+ g_strdown(search_string);
+
for(cur = mlist ; cur != NULL ; cur = g_slist_next(cur)) {
MsgInfo * msginfo = (MsgInfo *) cur->data;
switch (search_type) {
printf("bug in search_type (=%d)\n",search_type);
}
+ g_strdown(searched_header);
if (searched_header != NULL
&& strstr(searched_header, search_string) != NULL)
not_killed = g_slist_append(not_killed, msginfo);