diff options
author | Max Kellermann <max@duempel.org> | 2013-10-26 15:14:54 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-26 15:38:29 +0200 |
commit | a40246d3123d4bd0d1be638cd7f7b91274d8f23d (patch) | |
tree | d1384fdce2b186c00b4697d5475c97bf4dbc4b41 /src/command/FileCommands.cxx | |
parent | 4a5aad0948eb782ec6b74a1f038c0e5635c1bb9b (diff) | |
download | mpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.tar.gz mpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.tar.xz mpd-a40246d3123d4bd0d1be638cd7f7b91274d8f23d.zip |
TagFile: use Path instead of const char *
Diffstat (limited to 'src/command/FileCommands.cxx')
-rw-r--r-- | src/command/FileCommands.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx index f3cbaa2ef..8c5bbc50f 100644 --- a/src/command/FileCommands.cxx +++ b/src/command/FileCommands.cxx @@ -112,7 +112,7 @@ handle_read_comments(Client &client, gcc_unused int argc, char *argv[]) return CommandResult::ERROR; } - if (!tag_file_scan(path_fs.c_str(), &print_comment_handler, &client)) { + if (!tag_file_scan(path_fs, &print_comment_handler, &client)) { command_error(client, ACK_ERROR_NO_EXIST, "Failed to load file"); return CommandResult::ERROR; |