diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/http/modules/ngx_http_geo_module.c | 2 | ||||
| -rw-r--r-- | src/http/ngx_http_header_filter_module.c | 2 | ||||
| -rw-r--r-- | src/os/unix/ngx_errno.c | 2 | ||||
| -rw-r--r-- | src/os/unix/ngx_errno.h | 2 | ||||
| -rw-r--r-- | src/os/win32/ngx_errno.c | 2 | ||||
| -rw-r--r-- | src/os/win32/ngx_errno.h | 2 | ||||
| -rw-r--r-- | src/os/win32/ngx_files.c | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/http/modules/ngx_http_geo_module.c b/src/http/modules/ngx_http_geo_module.c index e792cdb66..189d8ed50 100644 --- a/src/http/modules/ngx_http_geo_module.c +++ b/src/http/modules/ngx_http_geo_module.c @@ -145,7 +145,7 @@ typedef struct { u_char GEORNG[6]; u_char version; u_char ptr_size; - uint32_t endianess; + uint32_t endianness; uint32_t crc32; } ngx_http_geo_header_t; diff --git a/src/http/ngx_http_header_filter_module.c b/src/http/ngx_http_header_filter_module.c index 19f531b5d..1e01c857d 100644 --- a/src/http/ngx_http_header_filter_module.c +++ b/src/http/ngx_http_header_filter_module.c @@ -395,7 +395,7 @@ ngx_http_header_filter(ngx_http_request_t *r) } } else { - len += sizeof("Connection: closed" CRLF) - 1; + len += sizeof("Connection: close" CRLF) - 1; } #if (NGX_HTTP_GZIP) diff --git a/src/os/unix/ngx_errno.c b/src/os/unix/ngx_errno.c index 75176c49a..e787b2377 100644 --- a/src/os/unix/ngx_errno.c +++ b/src/os/unix/ngx_errno.c @@ -42,7 +42,7 @@ ngx_strerror(ngx_err_t err, u_char *errstr, size_t size) } -ngx_uint_t +ngx_int_t ngx_strerror_init(void) { char *msg; diff --git a/src/os/unix/ngx_errno.h b/src/os/unix/ngx_errno.h index 2912dea04..125087e78 100644 --- a/src/os/unix/ngx_errno.h +++ b/src/os/unix/ngx_errno.h @@ -69,7 +69,7 @@ typedef int ngx_err_t; u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size); -ngx_uint_t ngx_strerror_init(void); +ngx_int_t ngx_strerror_init(void); #endif /* _NGX_ERRNO_H_INCLUDED_ */ diff --git a/src/os/win32/ngx_errno.c b/src/os/win32/ngx_errno.c index f6d947a75..b732bf4b1 100644 --- a/src/os/win32/ngx_errno.c +++ b/src/os/win32/ngx_errno.c @@ -53,7 +53,7 @@ ngx_strerror(ngx_err_t err, u_char *errstr, size_t size) } -ngx_uint_t +ngx_int_t ngx_strerror_init(void) { return NGX_OK; diff --git a/src/os/win32/ngx_errno.h b/src/os/win32/ngx_errno.h index 5b11a65b0..090ba1b53 100644 --- a/src/os/win32/ngx_errno.h +++ b/src/os/win32/ngx_errno.h @@ -59,7 +59,7 @@ typedef DWORD ngx_err_t; u_char *ngx_strerror(ngx_err_t err, u_char *errstr, size_t size); -ngx_uint_t ngx_strerror_init(void); +ngx_int_t ngx_strerror_init(void); #endif /* _NGX_ERRNO_H_INCLUDED_ */ diff --git a/src/os/win32/ngx_files.c b/src/os/win32/ngx_files.c index 11d9c35ac..ee846cdf3 100644 --- a/src/os/win32/ngx_files.c +++ b/src/os/win32/ngx_files.c @@ -722,7 +722,7 @@ ngx_win32_check_filename(u_char *name, u_short *u, size_t len) if (ch == ':') { goto invalid; } - + if (ch == '.' || ch == ' ') { break; } |
