aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder-search.c')
-rw-r--r--camel/camel-folder-search.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-folder-search.c b/camel/camel-folder-search.c
index 01dfb6a462..0162de0a80 100644
--- a/camel/camel-folder-search.c
+++ b/camel/camel-folder-search.c
@@ -371,6 +371,8 @@ search_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, C
header = search->current->from;
} else if (!strcasecmp(headername, "to")) {
header = search->current->to;
+ } else if (!strcasecmp(headername, "cc")) {
+ header = search->current->cc;
} else {
g_warning("Performing query on unknown header: %s", headername);
}