diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2002-08-20 14:48:28 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2002-08-20 14:48:28 +0000 |
| commit | 2b54238a5f2edcca568c0676a779ef79ba152c91 (patch) | |
| tree | 2cb7eb660e691eaab2c4f031adf881b7c88bffc9 /src/os/unix/ngx_sendfile.c | |
| parent | e0af1b89dcd100462a3195534b2f78a838ca85b5 (diff) | |
| download | nginx-2b54238a5f2edcca568c0676a779ef79ba152c91.tar.gz nginx-2b54238a5f2edcca568c0676a779ef79ba152c91.tar.bz2 | |
nginx-0.0.1-2002-08-20-18:48:28 import
Diffstat (limited to '')
| -rw-r--r-- | src/os/unix/freebsd/ngx_sendfile.c (renamed from src/os/unix/ngx_sendfile.c) | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/os/unix/ngx_sendfile.c b/src/os/unix/freebsd/ngx_sendfile.c index 2bc157361..31915e405 100644 --- a/src/os/unix/ngx_sendfile.c +++ b/src/os/unix/freebsd/ngx_sendfile.c @@ -1,6 +1,8 @@ #include <ngx_config.h> #include <ngx_types.h> +#include <ngx_file.h> +#include <ngx_socket.h> #include <ngx_errno.h> #include <ngx_log.h> #include <ngx_sendv.h> @@ -56,8 +58,8 @@ int ngx_sendfile(ngx_socket_t s, } } - ngx_log_debug(log, "ngx_sendfile: %d, @%qd %d:%qd" _ - rc _ offset _ nbytes _ *sent); + ngx_log_debug(log, "ngx_sendfile: %d, @%qd %qd:%d" _ + rc _ offset _ *sent _ nbytes); return 0; } |
