]> git.kaiwu.me - nginx.git/commitdiff
fix the previous commit
authorIgor Sysoev <igor@sysoev.ru>
Fri, 21 Dec 2007 16:19:14 +0000 (16:19 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 21 Dec 2007 16:19:14 +0000 (16:19 +0000)
src/core/ngx_open_file_cache.c

index 32973402e08c53ad195251a677a0211a3d461ea7..36e297ec71408aae32311c32e2a5d2fb72ba043f 100644 (file)
@@ -76,7 +76,7 @@ ngx_open_file_cache_cleanup(void *data)
     for ( ;; ) {
 
         if (ngx_queue_empty(&cache->expire_queue)) {
-            return;
+            break;
         }
 
         q = ngx_queue_last(&cache->expire_queue);