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 4302005190
commit 9b516414e7

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;
} }