[dovecot-cvs] dovecot/src/lib-mail message-body-search.c,1.12,1.13
cras at procontrol.fi
cras at procontrol.fi
Thu May 8 06:29:16 EEST 2003
Update of /home/cvs/dovecot/src/lib-mail
In directory danu:/tmp/cvs-serv31561
Modified Files:
message-body-search.c
Log Message:
Content-Type wasn't actually set, which caused us to search non-text attachments which unnecessarily slows down things.
Index: message-body-search.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-mail/message-body-search.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- message-body-search.c 1 Apr 2003 12:02:05 -0000 1.12
+++ message-body-search.c 8 May 2003 02:29:13 -0000 1.13
@@ -48,7 +48,7 @@
{
struct part_search_context *ctx = context;
- if (ctx->content_type != NULL) {
+ if (ctx->content_type == NULL) {
ctx->content_type = i_strndup(value, value_len);
ctx->content_type_text =
strncasecmp(ctx->content_type, "text/", 5) == 0 ||
More information about the dovecot-cvs
mailing list