diff options
author | Max Kellermann <max@duempel.org> | 2015-03-05 10:15:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-03-05 10:15:10 +0100 |
commit | 1da09563310a666095e93d3b4fdc5556a8a7c534 (patch) | |
tree | ae71915ee3835ff095c9ee652f3399a82021b270 /src | |
parent | 983078992d4189c08ce67bcae3b0658534aa45e2 (diff) | |
download | mpd-1da09563310a666095e93d3b4fdc5556a8a7c534.tar.gz mpd-1da09563310a666095e93d3b4fdc5556a8a7c534.tar.xz mpd-1da09563310a666095e93d3b4fdc5556a8a7c534.zip |
output/recorder: convert path to UTF-8 for logging
Diffstat (limited to 'src')
-rw-r--r-- | src/output/plugins/RecorderOutputPlugin.cxx | 3 |
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; } |