]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Unbreak build.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 30 May 2011 08:41:17 +0000 (04:41 -0400)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Mon, 30 May 2011 08:41:17 +0000 (04:41 -0400)
SVN-Revision: 3390

libarchive/archive_string.c

index 37897542e6dcef69c9b425243cc2ccbfaaa10170..d842235ce977359b03dea04634cf9a603cf4f99c 100644 (file)
@@ -1105,7 +1105,7 @@ create_sconv_object(const char *fc, const char *tc,
                 * Translate UTF-8-MAC filenames in HFS Plus to non-Unicode
                 * filenames.
                 */
-               sc->cd = iconv_open(to, "UTF-8-MAC");
+               sc->cd = iconv_open(tc, "UTF-8-MAC");
                if (sc->cd == (iconv_t)-1)
                        sc->cd = iconv_open(tc, fc);
 #endif