dovecot-2.2: lib-charset: Fixed compile warning caused by earlie...
dovecot at dovecot.org
dovecot at dovecot.org
Sat May 16 15:49:28 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/5c905c8afb02
changeset: 18717:5c905c8afb02
user: Timo Sirainen <tss at iki.fi>
date: Sat May 16 13:50:48 2015 +0300
description:
lib-charset: Fixed compile warning caused by earlier commit.
This UNICODE_REPLACEMENT_CHAR_UTF8 part of the change was actually supposed
to be a separate commit..
diffstat:
src/lib-charset/charset-iconv.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r ee240e7e4b6e -r 5c905c8afb02 src/lib-charset/charset-iconv.c
--- a/src/lib-charset/charset-iconv.c Sat May 16 13:20:22 2015 +0300
+++ b/src/lib-charset/charset-iconv.c Sat May 16 13:50:48 2015 +0300
@@ -118,7 +118,8 @@
if (result == CHARSET_RET_INVALID_INPUT) {
if (prev_invalid_pos != dest->used) {
- str_append(dest, UNICODE_REPLACEMENT_CHAR_UTF8);
+ buffer_append(dest, UNICODE_REPLACEMENT_CHAR_UTF8,
+ strlen(UNICODE_REPLACEMENT_CHAR_UTF8));
prev_invalid_pos = dest->used;
}
pos++;
More information about the dovecot-cvs
mailing list