]> git.proxmox.com Git - libgit2.git/blobdiff - tests/index/nsec.c
New upstream version 1.4.3+dfsg.1
[libgit2.git] / tests / index / nsec.c
index 6edcf030a75391173a8cda75fc733c3b2f1f14e9..3efd855a7e6d1772fc4c615cb457742f246235f0 100644 (file)
@@ -47,16 +47,16 @@ static bool try_create_file_with_nsec_timestamp(const char *path)
  */
 static bool should_expect_nsecs(void)
 {
-       git_buf nsec_path = GIT_BUF_INIT;
+       git_str nsec_path = GIT_STR_INIT;
        bool expect;
 
-       git_buf_joinpath(&nsec_path, clar_sandbox_path(), "nsec_test");
+       git_str_joinpath(&nsec_path, clar_sandbox_path(), "nsec_test");
 
        expect = try_create_file_with_nsec_timestamp(nsec_path.ptr);
 
        cl_must_pass(p_unlink(nsec_path.ptr));
 
-       git_buf_dispose(&nsec_path);
+       git_str_dispose(&nsec_path);
 
        return expect;
 }