]> git.ipfire.org Git - pakfire.git/commitdiff
compress: Actually walk through the archives
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 5 Sep 2022 13:47:30 +0000 (13:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 5 Sep 2022 13:47:30 +0000 (13:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/libpakfire/compress.c

index 0621cf06946e7cd717310d2f5c3adf555997069e..f243520ec78c0cf8a7715c8f58f5ca213cef66a5 100644 (file)
@@ -534,6 +534,10 @@ int pakfire_walk(struct pakfire* pakfire, struct archive* archive,
 
                // Handle the return code
                switch (r) {
+                       // Fall through if everything is okay
+                       case ARCHIVE_OK:
+                               break;
+
                        // Return OK when we reached the end of the archive
                        case ARCHIVE_EOF:
                                return 0;