Mercurial > hg > nginx
comparison src/os/unix/ngx_files.c @ 35:79c1fce18e71
nginx-0.0.1-2002-12-21-20:14:50 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 21 Dec 2002 17:14:50 +0000 |
parents | b2e039840718 |
children | 4534060fde92 |
comparison
equal
deleted
inserted
replaced
34:95f1c2a938f3 | 35:79c1fce18e71 |
---|---|
13 | 13 |
14 if (n == -1) { | 14 if (n == -1) { |
15 ngx_log_error(NGX_LOG_ERR, file->log, ngx_errno, "read() failed"); | 15 ngx_log_error(NGX_LOG_ERR, file->log, ngx_errno, "read() failed"); |
16 return NGX_ERROR; | 16 return NGX_ERROR; |
17 } | 17 } |
18 | |
19 file->offset += n; | |
18 | 20 |
19 return n; | 21 return n; |
20 } | 22 } |
21 | 23 |
22 #if 0 | 24 #if 0 |