aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/FileCommands.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-12-29 16:16:04 +0100
committerMax Kellermann <max@duempel.org>2013-12-29 16:24:04 +0100
commit9be82891b01ba2190a97032a2f84b70151bc2358 (patch)
tree64aca4836fcb7672df94c24a2d5ac216d8ae15fb /src/command/FileCommands.cxx
parentc97685fe6cbcd412cb2425e475075ffbabcd072c (diff)
downloadmpd-9be82891b01ba2190a97032a2f84b70151bc2358.tar.gz
mpd-9be82891b01ba2190a97032a2f84b70151bc2358.tar.xz
mpd-9be82891b01ba2190a97032a2f84b70151bc2358.zip
TagFile: pass reference instead of pointer
Diffstat (limited to 'src/command/FileCommands.cxx')
-rw-r--r--src/command/FileCommands.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/FileCommands.cxx b/src/command/FileCommands.cxx
index eecc3102f..48037bc72 100644
--- a/src/command/FileCommands.cxx
+++ b/src/command/FileCommands.cxx
@@ -114,7 +114,7 @@ handle_read_comments(Client &client, gcc_unused int argc, char *argv[])
return CommandResult::ERROR;
}
- if (!tag_file_scan(path_fs, &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;