aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_string.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2005-02-24 12:29:09 +0000
committerIgor Sysoev <igor@sysoev.ru>2005-02-24 12:29:09 +0000
commit4a71559d9bf433baf01c459c7daba58f99805b32 (patch)
treef414a54fc1624eaddd446bbe9f0c1370e38df87e /src/core/ngx_string.c
parent4dc57ba98fb7526efe4564f4d352c52024c47535 (diff)
downloadnginx-4a71559d9bf433baf01c459c7daba58f99805b32.tar.gz
nginx-4a71559d9bf433baf01c459c7daba58f99805b32.zip
nginx-0.1.22-RELEASE importrelease-0.1.22
*) Bugfix: the ngx_http_stub_status_module showed incorrect handled connections statistics if the proxying or FastCGI server were used. *) Bugfix: the installation paths were incorrectly quoted on Linux and Solaris; the bug had appeared in 0.1.21.
Diffstat (limited to 'src/core/ngx_string.c')
-rw-r--r--src/core/ngx_string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_string.c b/src/core/ngx_string.c
index ca9d669c5..fdb59fd9a 100644
--- a/src/core/ngx_string.c
+++ b/src/core/ngx_string.c
@@ -54,7 +54,7 @@ ngx_pstrdup(ngx_pool_t *pool, ngx_str_t *src)
* %[0][width|m][u][x|X]i ngx_int_t/ngx_uint_t
* %[0][width][u][x|X]D int32_t/uint32_t
* %[0][width][u][x|X]L int64_t/uint64_t
- * %[0][width|m][u][x|X]A ngx_atomic_int_t
+ * %[0][width|m][u][x|X]A ngx_atomic_int_t/ngx_atomic_uint_t
* %P ngx_pid_t
* %r rlim_t
* %p pointer
@@ -277,7 +277,7 @@ ngx_vsnprintf(u_char *buf, size_t max, const char *fmt, va_list args)
if (sign) {
i64 = (int64_t) va_arg(args, ngx_atomic_int_t);
} else {
- ui64 = (uint64_t) va_arg(args, ngx_atomic_int_t);
+ ui64 = (uint64_t) va_arg(args, ngx_atomic_uint_t);
}
if (max_width) {