aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-03-05 10:15:04 +0100
committerMax Kellermann <max@duempel.org>2015-03-05 10:15:10 +0100
commit1da09563310a666095e93d3b4fdc5556a8a7c534 (patch)
treeae71915ee3835ff095c9ee652f3399a82021b270 /src/output
parent983078992d4189c08ce67bcae3b0658534aa45e2 (diff)
downloadmpd-1da09563310a666095e93d3b4fdc5556a8a7c534.tar.gz
mpd-1da09563310a666095e93d3b4fdc5556a8a7c534.tar.xz
mpd-1da09563310a666095e93d3b4fdc5556a8a7c534.zip
output/recorder: convert path to UTF-8 for logging
Diffstat (limited to 'src/output')
-rw-r--r--src/output/plugins/RecorderOutputPlugin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx
index 115ee534d..4f9231c70 100644
--- a/src/output/plugins/RecorderOutputPlugin.cxx
+++ b/src/output/plugins/RecorderOutputPlugin.cxx
@@ -318,7 +318,8 @@ RecorderOutput::ReopenFormat(AllocatedPath &&new_path, Error &error)
path = std::move(new_path);
file = new_file;
- FormatDebug(recorder_domain, "Recording to \"%s\"", path.c_str());
+ FormatDebug(recorder_domain, "Recording to \"%s\"",
+ path.ToUTF8().c_str());
return true;
}