diff options
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/tpax_archive_append.c | 4 | ||||
-rw-r--r-- | src/logic/tpax_archive_write.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/logic/tpax_archive_append.c b/src/logic/tpax_archive_append.c index cfdcb74..d0f5cb4 100644 --- a/src/logic/tpax_archive_append.c +++ b/src/logic/tpax_archive_append.c @@ -142,7 +142,7 @@ static int tpax_archive_append_ret( struct tpax_unit_ctx * unit) { if (unit) - tpax_free_unit_ctx(unit); + tpax_lib_free_unit_ctx(unit); return ret; } @@ -242,7 +242,7 @@ static int tpax_archive_append_dir_entries( depth = dent->depth; /* uctx on the fly */ - if (tpax_get_unit_ctx( + if (tpax_lib_get_unit_ctx( dctx,fdat, dent->dirent.d_name, &uctx) < 0) diff --git a/src/logic/tpax_archive_write.c b/src/logic/tpax_archive_write.c index 272f9b9..707b288 100644 --- a/src/logic/tpax_archive_write.c +++ b/src/logic/tpax_archive_write.c @@ -67,7 +67,7 @@ static int tpax_archive_write_ret( int ret, struct tpax_unit_ctx * uctx) { - tpax_free_unit_ctx(uctx); + tpax_lib_free_unit_ctx(uctx); return ret; } @@ -97,7 +97,7 @@ static int tpax_archive_write_impl( TPAX_ERR_FLOW_ERROR); /* uctx */ - if (tpax_get_unit_ctx(dctx,fdcwd,path,&uctx) < 0) + if (tpax_lib_get_unit_ctx(dctx,fdcwd,path,&uctx) < 0) return TPAX_NESTED_ERROR(dctx); /* record errors */ @@ -165,7 +165,7 @@ static int tpax_archive_write_impl( /* all done? */ if (!(S_ISREG(uctx->st->st_mode))) { - tpax_free_unit_ctx(uctx); + tpax_lib_free_unit_ctx(uctx); return 0; } |