summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/logic/tpax_archive_enqueue.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logic/tpax_archive_enqueue.c b/src/logic/tpax_archive_enqueue.c
index 4f5683d..3afcb67 100644
--- a/src/logic/tpax_archive_enqueue.c
+++ b/src/logic/tpax_archive_enqueue.c
@@ -84,7 +84,7 @@ static char * tpax_add_prefix_item_from_path(
return tpax_add_prefix_item(dctx,pathbuf);
}
-static int tpax_dirent_init_from_uctx(
+static int tpax_dirent_init_from_stat(
const struct stat * st,
const char * basename,
struct dirent * dirent)
@@ -375,7 +375,7 @@ static int tpax_archive_enqueue_dir_entries(
close(fdlnk);
- if (tpax_dirent_init_from_uctx(&lnkst,lnktgt,lnkent) < 0)
+ if (tpax_dirent_init_from_stat(&lnkst,lnktgt,lnkent) < 0)
return tpax_archive_enqueue_ret(
TPAX_CUSTOM_ERROR(
dctx,
@@ -487,7 +487,7 @@ int tpax_archive_enqueue(
0);
/* explicit item directory entry */
- if (tpax_dirent_init_from_uctx(uctx->st,name,dirent) < 0)
+ if (tpax_dirent_init_from_stat(uctx->st,name,dirent) < 0)
return tpax_archive_enqueue_ret(
TPAX_CUSTOM_ERROR(
dctx,
@@ -517,7 +517,7 @@ int tpax_archive_enqueue(
close(fdlnk);
- if (tpax_dirent_init_from_uctx(&lnkst,uctx->link[0],lnkent) < 0)
+ if (tpax_dirent_init_from_stat(&lnkst,uctx->link[0],lnkent) < 0)
return tpax_archive_enqueue_ret(
TPAX_CUSTOM_ERROR(
dctx,