aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_times.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-11-25 16:17:31 +0000
committerIgor Sysoev <igor@sysoev.ru>2004-11-25 16:17:31 +0000
commitf69060481edeaca075669b50e34ca8ec821c2401 (patch)
tree6fa6907cc2fdfe0ac6bcdf7f63e76a7f8b41f33f /src/core/ngx_times.c
parent865a7de474a13c5f1202f97fac31565f33a5e1a1 (diff)
downloadnginx-release-0.1.9.tar.gz
nginx-release-0.1.9.zip
nginx-0.1.9-RELEASE importrelease-0.1.9
*) Bugfix: the proxied request was sent without arguments if the request contains "//", "/./", "/../" or "%XX". *) Bugfix: the large compressed responses may be transferred not completely. *) Bugfix: the files bigger than 2G was not transferred on Linux that does not support sendfile64(). *) Bugfix: while the build configuration on Linux the --with-poll_module parameter was required; the bug had appeared in 0.1.8.
Diffstat (limited to 'src/core/ngx_times.c')
-rw-r--r--src/core/ngx_times.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_times.c b/src/core/ngx_times.c
index f06d64476..5ca235ccf 100644
--- a/src/core/ngx_times.c
+++ b/src/core/ngx_times.c
@@ -162,12 +162,12 @@ void ngx_time_update(time_t s)
ngx_cached_http_time.data = p;
-#if (HAVE_GETTIMEZONE)
+#if (NGX_HAVE_GETTIMEZONE)
ngx_gmtoff = ngx_gettimezone();
ngx_gmtime(s + ngx_gmtoff * 60, &tm);
-#elif (HAVE_GMTOFF)
+#elif (NGX_HAVE_GMTOFF)
ngx_localtime(&tm);
ngx_gmtoff = tm.ngx_tm_gmtoff / 60;