diff src/os/unix/ngx_aio_write_chain.c @ 166:389d7ee9fa60

nginx-0.0.1-2003-10-30-11:51:06 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 30 Oct 2003 08:51:06 +0000
parents 84036764e215
children e885208c518b
line wrap: on
line diff
--- a/src/os/unix/ngx_aio_write_chain.c
+++ b/src/os/unix/ngx_aio_write_chain.c
@@ -26,7 +26,7 @@ ngx_chain_t *ngx_aio_write_chain(ngx_con
 
         /* we can post the single aio operation only */
 
-        if (c->write->active) {
+        if (!c->write->ready) {
             return cl;
         }