TagFile: pass reference instead of pointer

This commit is contained in:
Max Kellermann
2013-12-29 16:16:04 +01:00
parent c97685fe6c
commit 9be82891b0
5 changed files with 6 additions and 9 deletions

View File

@@ -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;