From 9be82891b01ba2190a97032a2f84b70151bc2358 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 29 Dec 2013 16:16:04 +0100 Subject: TagFile: pass reference instead of pointer --- src/command/FileCommands.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command/FileCommands.cxx') 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; -- cgit v1.2.3