Mercurial > hg > nginx
comparison src/os/unix/ngx_freebsd_sendfile_chain.c @ 6066:657f6ec01da0
Used the correct type for the AIO preload handler return value.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Mon, 06 Apr 2015 11:22:24 +0300 |
parents | ccad84a174e0 |
children | 768e287a6f36 |
comparison
equal
deleted
inserted
replaced
6065:0daea93e86a2 | 6066:657f6ec01da0 |
---|---|
264 | 264 |
265 } else { | 265 } else { |
266 c->busy_count = 0; | 266 c->busy_count = 0; |
267 } | 267 } |
268 | 268 |
269 rc = aio->preload_handler(file); | 269 n = aio->preload_handler(file); |
270 | 270 |
271 if (rc > 0) { | 271 if (n > 0) { |
272 send = prev_send + sent; | 272 send = prev_send + sent; |
273 continue; | 273 continue; |
274 } | 274 } |
275 | 275 |
276 return in; | 276 return in; |