From 05b3fdccc1eb702d330794faab0747c1e683afa8 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 2 Oct 2003 10:28:45 +0000 Subject: [PATCH] (read_and): Use all_names_found() as `while' condition. --- src/list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/list.c b/src/list.c index 5b06e80..9f3b587 100644 --- a/src/list.c +++ b/src/list.c @@ -73,7 +73,7 @@ read_and (void (*do_something) (void)) name_gather (); open_archive (ACCESS_READ); - while (1) + while (!all_names_found ()) { prev_status = status; status = read_header (false); -- 2.44.0