dovecot-2.2-pigeonhole: lib-sieve: edit mail: Fixed header unfol...
pigeonhole at rename-it.nl
pigeonhole at rename-it.nl
Tue Jun 17 20:55:52 UTC 2014
details: http://hg.rename-it.nl/dovecot-2.2-pigeonhole/rev/a358a0d7af70
changeset: 1874:a358a0d7af70
user: Stephan Bosch <stephan at rename-it.nl>
date: Tue Jun 17 22:52:32 2014 +0200
description:
lib-sieve: edit mail: Fixed header unfolding.
Forgot break in switch statement.
Reported by Coverity.
diffstat:
src/lib-sieve/util/edit-mail.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 247f9d1a9820 -r a358a0d7af70 src/lib-sieve/util/edit-mail.c
--- a/src/lib-sieve/util/edit-mail.c Tue Jun 17 22:45:23 2014 +0200
+++ b/src/lib-sieve/util/edit-mail.c Tue Jun 17 22:52:32 2014 +0200
@@ -727,10 +727,12 @@
break;
switch ( value[i] ) {
+ case ' ':
+ str_append_c(out, ' ');
+ break;
+ case '\t':
default:
str_append_c(out, '\t');
- case ' ': case '\t':
- str_append_c(out, value[i]);
}
} else {
if (value[i] != '\r')
More information about the dovecot-cvs
mailing list