dovecot-2.2-pigeonhole: lib-sieve: message body: Fixed parsing o...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Sun Jan 3 17:37:43 UTC 2016


details:   http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/ceaf31d7bd5a
changeset: 2197:ceaf31d7bd5a
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Sun Jan 03 18:37:39 2016 +0100
description:
lib-sieve: message body: Fixed parsing of content-disposition header.

diffstat:

 src/lib-sieve/sieve-message.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r ebc034a52f6f -r ceaf31d7bd5a src/lib-sieve/sieve-message.c
--- a/src/lib-sieve/sieve-message.c	Sun Jan 03 18:20:51 2016 +0100
+++ b/src/lib-sieve/sieve-message.c	Sun Jan 03 18:37:39 2016 +0100
@@ -1280,7 +1280,7 @@
 
 			if ( strcasecmp(hdr->name, "Content-Type" ) == 0 )
 				hdr_field = _HDR_CONTENT_TYPE;
-			else if ( strcasecmp(hdr->name, "Content-Disposition" ) != 0 )
+			else if ( strcasecmp(hdr->name, "Content-Disposition" ) == 0 )
 				hdr_field = _HDR_CONTENT_DISPOSITION;
 			else if ( iter_all && !array_is_created(&body_part->headers) )
 				hdr_field = _HDR_OTHER;


More information about the dovecot-cvs mailing list