Make header search 'to' match 'to', and not 'from', small typo, fixes

2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

        * camel-folder-search.c (search_header_contains): Make header
        search 'to' match 'to', and not 'from', small typo, fixes #317.

svn path=/trunk/; revision=3749
This commit is contained in:
Michael Zucchi
2000-06-27 04:09:36 +00:00
committed by Michael Zucci
parent 54f748a343
commit 7fdaea2162
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-06-27 Michael Zucchi <zucchi@zedzone.mmc.com.au>
* camel-folder-search.c (search_header_contains): Make header
search 'to' match 'to', and not 'from', small typo, fixes #317.
2000-06-26 Christopher James Lahey <clahey@helixcode.com>
* providers/mbox/camel-mbox-summary.c: Added debugging

View File

@ -370,7 +370,7 @@ search_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, C
} else if (!strcasecmp(headername, "from")) {
header = search->current->from;
} else if (!strcasecmp(headername, "to")) {
header = search->current->from;
header = search->current->to;
} else {
g_warning("Performing query on unknown header: %s", headername);
}