aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorMichael Zucchi <zucchi@zedzone.mmc.com.au>2000-06-27 12:09:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-06-27 12:09:36 +0800
commit7fdaea2162e788995d3df6fefe6ae5653b1998fe (patch)
tree9e21275256a4cc919a6a6a974e541259f939e455 /camel
parent54f748a343dbfc6a6df3fa82c550c260d7fd262a (diff)
downloadgsoc2013-evolution-7fdaea2162e788995d3df6fefe6ae5653b1998fe.tar.gz
gsoc2013-evolution-7fdaea2162e788995d3df6fefe6ae5653b1998fe.tar.zst
gsoc2013-evolution-7fdaea2162e788995d3df6fefe6ae5653b1998fe.zip
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
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-folder-search.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 83a09525dd..a413d47deb 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -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
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c
index fa07fc819f..01dfb6a462 100644
--- a/camel/camel-folder-search.c
+++ b/camel/camel-folder-search.c
@@ -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);
}