mirror of
https://github.com/nginx/nginx.git
synced 2025-08-05 22:26:15 +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;
|
||||
}
|
||||
|
||||
rc = aio->preload_handler(file);
|
||||
n = aio->preload_handler(file);
|
||||
|
||||
if (rc > 0) {
|
||||
if (n > 0) {
|
||||
send = prev_send + sent;
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user