summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-06-07 01:01:31 +0000
committermidipix <writeonce@midipix.org>2024-06-07 01:01:31 +0000
commit24b5f44bc87af654f5fda5b8c347a88c03abba7a (patch)
tree156e8eb4dfea539e97af33457492fb68d00704ec
parente50240012b56272abfd1ce2c873dc99e7a89631b (diff)
downloadtpax-24b5f44bc87af654f5fda5b8c347a88c03abba7a.tar.bz2
tpax-24b5f44bc87af654f5fda5b8c347a88c03abba7a.tar.xz
tpax_archive_enqueue_dir_entries(): negativity of nbytes already ruled out.
-rw-r--r--src/logic/tpax_archive_enqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logic/tpax_archive_enqueue.c b/src/logic/tpax_archive_enqueue.c
index 1b45a2f..4f5683d 100644
--- a/src/logic/tpax_archive_enqueue.c
+++ b/src/logic/tpax_archive_enqueue.c
@@ -327,7 +327,7 @@ static int tpax_archive_enqueue_dir_entries(
uctx);
/* iterate */
- for (; nbytes>0; ) {
+ for (; nbytes; ) {
if (!strcmp(dirent->d_name,".")) {
(void)0;