Parcourir la source

(read_and): Use all_names_found() as `while' condition.

Sergey Poznyakoff il y a 21 ans
Parent
commit
05b3fdccc1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/list.c

+ 1 - 1
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);