Used the correct type for the AIO preload handler return value.
This commit is contained in:
parent
4302005190
commit
9b516414e7
1 changed files with 2 additions and 2 deletions
|
@ -266,9 +266,9 @@ ngx_freebsd_sendfile_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit)
|
|||
c->busy_count = 0;
|
||||
}
|
||||
|
||||
rc = aio->preload_handler(file);
|
||||
n = aio->preload_handler(file);
|
||||
|
||||
if (rc > 0) {
|
||||
if (n > 0) {
|
||||
send = prev_send + sent;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue