diff options
author | Max Kellermann <max@musicpd.org> | 2017-01-12 21:36:32 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2017-01-12 21:36:32 +0100 |
commit | c7b0c46d9fc95bcc6c7c82a80f51abad06273fe6 (patch) | |
tree | 961c020c6c01e0245da8b666fe0e1d28e70f5b8d /src | |
parent | df578c91ad361e223ba4668722dd97cd9542deee (diff) |
output/recorder: fix typo in variable name
Fixes the dreaded error "Failed to create : No such file or
directory".
https://bugs.musicpd.org/view.php?id=4625
Diffstat (limited to 'src')
-rw-r--r-- | src/output/plugins/RecorderOutputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/RecorderOutputPlugin.cxx b/src/output/plugins/RecorderOutputPlugin.cxx index 487edacde..a934e3bfe 100644 --- a/src/output/plugins/RecorderOutputPlugin.cxx +++ b/src/output/plugins/RecorderOutputPlugin.cxx @@ -274,7 +274,7 @@ RecorderOutput::ReopenFormat(AllocatedPath &&new_path) assert(path.IsNull()); assert(file == nullptr); - FileOutputStream *new_file = new FileOutputStream(path); + FileOutputStream *new_file = new FileOutputStream(new_path); AudioFormat new_audio_format = effective_audio_format; |