mirror of
https://github.com/nginx/nginx.git
synced 2025-08-06 06:46:16 +08:00
Used the correct type for the AIO preload handler return value.
This commit is contained in:
parent
76bf2f9ab5
commit
1329c4af80
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user