소스 검색

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

Sergey Poznyakoff 21 년 전
부모
커밋
05b3fdccc1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);