]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-charset: Revert f086fd065 - wrong version
authorTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 28 Apr 2016 12:56:45 +0000 (15:56 +0300)
committerTimo Sirainen <timo.sirainen@dovecot.fi>
Thu, 28 Apr 2016 12:56:45 +0000 (15:56 +0300)
This wasn't the version that was supposed to be merged..

src/lib-charset/test-charset.c

index 6ba72bb93ad1664df556faaa2b3c0d54efc3ffe8..18da108464eca3c6f53468c7ff4856cf04367b0a 100644 (file)
@@ -105,12 +105,7 @@ static void test_charset_iconv(void)
        }
        /* Use //IGNORE just to force handling to be done by iconv
           instead of our own UTF-8 routines. */
-       /* check if //IGNORE is supported by ICONV */
-       if (charset_to_utf8_str("UTF-8//IGNORE", NULL, "", str, &result) < 0)
-               test_charset_utf8_common("UTF-8");
-       else
-               test_charset_utf8_common("UTF-8//IGNORE");
-       test_end();
+       test_charset_utf8_common("UTF-8//IGNORE");
        test_end();
 }
 static void test_charset_iconv_crashes(void)