mapper: use the utf8_to_fs_charset() result

In map_directory_child_fs(), the result of utf8_to_fs_charset() was
never used, because it passed the unmodified "name" parameter to
pfx_dir().
This commit is contained in:
Konstantin Sobolev 2008-11-20 18:10:18 +01:00 committed by Max Kellermann
parent ddab531b4a
commit 23b097593e

View File

@ -109,7 +109,7 @@ map_directory_child_fs(const struct directory *directory, const char *name,
if (parent_fs == NULL)
return NULL;
utf8_to_fs_charset(buffer, name);
name = utf8_to_fs_charset(buffer, name);
pfx_dir(buffer, name, strlen(name),
parent_fs, strlen(parent_fs));
return buffer;