diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-03-30 06:27:36 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-30 06:27:36 +0000 |
| commit | 6881bfb99063e3d42abaa313641b311c6fc3522d (patch) | |
| tree | 1df669d89a2f58b450947901b1f41eb407dbf540 /src/os/unix | |
| parent | 11dbe97ca401221313dc233aa2d6f67dfcaef1a7 (diff) | |
| download | nginx-6881bfb99063e3d42abaa313641b311c6fc3522d.tar.gz nginx-6881bfb99063e3d42abaa313641b311c6fc3522d.tar.bz2 | |
nginx-0.0.3-2004-03-30-10:27:36 import
Diffstat (limited to '')
| -rw-r--r-- | src/os/unix/ngx_aio.h | 4 | ||||
| -rw-r--r-- | src/os/unix/ngx_aio_read.c | 2 | ||||
| -rw-r--r-- | src/os/unix/ngx_aio_read_chain.c | 2 | ||||
| -rw-r--r-- | src/os/unix/ngx_aio_write.c | 2 | ||||
| -rw-r--r-- | src/os/unix/ngx_aio_write_chain.c | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/src/os/unix/ngx_aio.h b/src/os/unix/ngx_aio.h index a357ff524..0bbb7ec9b 100644 --- a/src/os/unix/ngx_aio.h +++ b/src/os/unix/ngx_aio.h @@ -5,9 +5,9 @@ #include <ngx_core.h> -ssize_t ngx_aio_read(ngx_connection_t *c, char *buf, size_t size); +ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size); ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl); -ssize_t ngx_aio_write(ngx_connection_t *c, char *buf, size_t size); +ssize_t ngx_aio_write(ngx_connection_t *c, u_char *buf, size_t size); ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in); diff --git a/src/os/unix/ngx_aio_read.c b/src/os/unix/ngx_aio_read.c index 84301886a..6c0c40084 100644 --- a/src/os/unix/ngx_aio_read.c +++ b/src/os/unix/ngx_aio_read.c @@ -17,7 +17,7 @@ * timeout, aio_cancel(), aio_error() */ -ssize_t ngx_aio_read(ngx_connection_t *c, char *buf, size_t size) +ssize_t ngx_aio_read(ngx_connection_t *c, u_char *buf, size_t size) { int n; ngx_event_t *rev; diff --git a/src/os/unix/ngx_aio_read_chain.c b/src/os/unix/ngx_aio_read_chain.c index 8fc8870dd..3a56e8613 100644 --- a/src/os/unix/ngx_aio_read_chain.c +++ b/src/os/unix/ngx_aio_read_chain.c @@ -8,7 +8,7 @@ ssize_t ngx_aio_read_chain(ngx_connection_t *c, ngx_chain_t *cl) { int n; - char *buf, *prev; + u_char *buf, *prev; size_t size, total; ngx_err_t err; diff --git a/src/os/unix/ngx_aio_write.c b/src/os/unix/ngx_aio_write.c index 113196165..319af1261 100644 --- a/src/os/unix/ngx_aio_write.c +++ b/src/os/unix/ngx_aio_write.c @@ -17,7 +17,7 @@ * timeout, aio_cancel(), aio_error() */ -ssize_t ngx_aio_write(ngx_connection_t *c, char *buf, size_t size) +ssize_t ngx_aio_write(ngx_connection_t *c, u_char *buf, size_t size) { int n; ngx_event_t *wev; diff --git a/src/os/unix/ngx_aio_write_chain.c b/src/os/unix/ngx_aio_write_chain.c index c8108f3e0..f5e125e4f 100644 --- a/src/os/unix/ngx_aio_write_chain.c +++ b/src/os/unix/ngx_aio_write_chain.c @@ -8,7 +8,7 @@ ngx_chain_t *ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in) { int n; - char *buf, *prev; + u_char *buf, *prev; off_t sent; size_t size; ngx_err_t err; |
