Used the correct type for the AIO preload handler return value.

This commit is contained in:
Valentin Bartenev 2015-04-06 11:22:24 +03:00
parent 76bf2f9ab5
commit 1329c4af80

View File

@ -266,9 +266,9 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
c->busy_count = 0; c->busy_count = 0;
} }
rc = aio->preload_handler(file); n = aio->preload_handler(file);
if (rc > 0) { if (n > 0) {
send = prev_send + sent; send = prev_send + sent;
continue; continue;
} }