[client] fixed a bug in refresh_locked_path_status

This commit is contained in:
Shuai Lin 2015-07-25 14:52:39 +08:00
parent 0c0f2486f2
commit ee1838f029

View File

@ -513,7 +513,7 @@ refresh_locked_path_status (const char *repo_id, const char *path)
if (!repo)
return;
char *fullpath = g_build_path ("/", repo->worktree, path);
char *fullpath = g_build_path ("/", repo->worktree, path, NULL);
seaf_sync_manager_refresh_path (seaf->sync_mgr, path);
g_free (fullpath);
}