aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_process.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2010-03-13 18:08:07 +0000
committerIgor Sysoev <igor@sysoev.ru>2010-03-13 18:08:07 +0000
commit2f916a972139be74d437e40bdc7d236401123170 (patch)
treefcd2498751fa4da54ce7b32cfea08975893d83c9 /src/os/unix/ngx_process.c
parentb80f68aeda3d958c6c8e52a796fcc561cd9c6e1a (diff)
downloadnginx-2f916a972139be74d437e40bdc7d236401123170.tar.gz
nginx-2f916a972139be74d437e40bdc7d236401123170.zip
*) use previously cached GMT offset value to update time from a signal handler
*) change ngx_time_update() interface since there are no notification methods those return time
Diffstat (limited to 'src/os/unix/ngx_process.c')
-rw-r--r--src/os/unix/ngx_process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_process.c b/src/os/unix/ngx_process.c
index 0d08349ee..4c418000a 100644
--- a/src/os/unix/ngx_process.c
+++ b/src/os/unix/ngx_process.c
@@ -317,7 +317,7 @@ ngx_signal_handler(int signo)
}
}
- ngx_time_update(0, 0);
+ ngx_time_update(1);
action = "";