diff options
Diffstat (limited to 'camel/providers')
-rw-r--r-- | camel/providers/mbox/camel-mbox-search.c | 2 | ||||
-rw-r--r-- | camel/providers/mbox/camel-mbox-summary.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/mbox/camel-mbox-search.c b/camel/providers/mbox/camel-mbox-search.c index 515bd8842c..47d4012c4c 100644 --- a/camel/providers/mbox/camel-mbox-search.c +++ b/camel/providers/mbox/camel-mbox-search.c @@ -229,7 +229,7 @@ func_header_contains(struct _ESExp *f, int argc, struct _ESExpResult **argv, voi if (!strcasecmp(headername, "subject")) { header = ctx->message_current->subject; } else if (!strcasecmp(headername, "date")) { - header = ctx->message_current->date; + header = ctx->message_current->sent_date; } else if (!strcasecmp(headername, "from")) { header = ctx->message_current->sender; } else { diff --git a/camel/providers/mbox/camel-mbox-summary.c b/camel/providers/mbox/camel-mbox-summary.c index 51946f1789..1b4826058b 100644 --- a/camel/providers/mbox/camel-mbox-summary.c +++ b/camel/providers/mbox/camel-mbox-summary.c @@ -296,7 +296,7 @@ camel_mbox_summary_append_internal_to_external (CamelMboxSummary *internal, external_entry.subject = internal_entry->subject ? strdup (internal_entry->subject) : NULL; external_entry.uid = g_strdup_printf ("%u", internal_entry->uid); - external_entry.date = internal_entry->date ? strdup (internal_entry->date) : NULL; + external_entry.sent_date = internal_entry->date ? strdup (internal_entry->date) : NULL; external_entry.sender = internal_entry->sender ? strdup (internal_entry->sender) : NULL; g_array_append_vals (external_array, &external_entry, 1); |