summaryrefslogtreecommitdiff
path: root/src/refdb_fs.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2021-11-01 20:14:34 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2021-11-09 15:17:18 +0000
commit91246ee5e0d8be8a15a669844f0893cd0f01c604 (patch)
tree34d4ee78572e4a02456d91072858dd5373c8bed7 /src/refdb_fs.c
parent1728e27c96a2e14328423554d3559166ebd1bab7 (diff)
downloadlibgit2-91246ee5e0d8be8a15a669844f0893cd0f01c604.tar.gz
path: use new length validation functions
Diffstat (limited to 'src/refdb_fs.c')
-rw-r--r--src/refdb_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/refdb_fs.c b/src/refdb_fs.c
index acd627091..dc291d0f5 100644
--- a/src/refdb_fs.c
+++ b/src/refdb_fs.c
@@ -1362,7 +1362,7 @@ static int refdb_fs_backend__prune_refs(
git_str_cstr(&relative_path));
if (!error)
- error = git_fs_path_validate_filesystem(base_path.ptr, base_path.size);
+ error = git_path_validate_str_length(NULL, &base_path);
if (error < 0)
goto cleanup;