aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.c')
-rw-r--r--src/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.c b/src/command.c
index 489761b52..d985fd61b 100644
--- a/src/command.c
+++ b/src/command.c
@@ -579,7 +579,7 @@ static int handleLsInfo(struct client *client,
if (argc == 2)
path = argv[1];
- directory = getDirectory(path);
+ directory = db_get_directory(path);
if (directory == NULL) {
command_error(client, ACK_ERROR_NO_EXIST,
"directory not found");