Revision 333 src/filter.c
| filter.c (revision 333) | ||
|---|---|---|
| 397 | 397 |
|
| 398 | 398 |
switch (cond->type) {
|
| 399 | 399 |
case FLT_COND_HEADER: |
| 400 |
if (!strcasecmp(header->name, cond->header_name)) {
|
|
| 400 |
if (!g_ascii_strcasecmp |
|
| 401 |
(header->name, cond->header_name)) {
|
|
| 401 | 402 |
if (!cond->str_value || |
| 402 | 403 |
cond->match_func(header->body, |
| 403 | 404 |
cond->str_value)) |
| ... | ... | |
| 410 | 411 |
matched = TRUE; |
| 411 | 412 |
break; |
| 412 | 413 |
case FLT_COND_TO_OR_CC: |
| 413 |
if (!strcasecmp(header->name, "To") || |
|
| 414 |
!strcasecmp(header->name, "Cc")) {
|
|
| 414 |
if (!g_ascii_strcasecmp(header->name, "To") ||
|
|
| 415 |
!g_ascii_strcasecmp(header->name, "Cc")) {
|
|
| 415 | 416 |
if (!cond->str_value || |
| 416 | 417 |
cond->match_func(header->body, |
| 417 | 418 |
cond->str_value)) |
Also available in: Unified diff