commit | aecb2eda1368aa7e3b58738f2577474d98bf58ca | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Thu Oct 20 12:40:26 2011 +0000 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Thu Oct 20 12:40:26 2011 +0000 |
tree | d7e6e07f41652b1ca507f59378617dbad4ee2db8 | |
parent | 5f810705232f477361de76521287614562c34592 [diff] |
Fixed unix ngx_write_chain_to_file() to return total bytes written. Previously result of last iteration's writev() was returned. This was unnoticed as return value was only used if chain contained only one or two buffers.