瀏覽代碼

(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);