mirror of
https://github.com/nginx/nginx.git
synced 2025-01-20 21:33:20 -06:00
nginx-0.0.10-2004-08-23-19:37:10 import
This commit is contained in:
parent
6deb041b2f
commit
94085ff2b5
@ -2,7 +2,7 @@
|
||||
#define _NGINX_H_INCLUDED_
|
||||
|
||||
|
||||
#define NGINX_VER "nginx/0.0.9"
|
||||
#define NGINX_VER "nginx/0.0.10"
|
||||
|
||||
#define NGINX_VAR "NGINX"
|
||||
#define NGX_NEWPID_EXT ".newbin"
|
||||
|
@ -409,7 +409,8 @@ static ngx_int_t ngx_select_process_events(ngx_cycle_t *cycle)
|
||||
ngx_time_update(tv.tv_sec);
|
||||
|
||||
delta = ngx_elapsed_msec;
|
||||
ngx_elapsed_msec = tv.tv_sec * 1000 + tv.tv_usec / 1000 - ngx_start_msec;
|
||||
ngx_elapsed_msec = (ngx_epoch_msec_t) tv.tv_sec * 1000
|
||||
+ tv.tv_usec / 1000 - ngx_start_msec;
|
||||
|
||||
if (timer != NGX_TIMER_INFINITE) {
|
||||
delta = ngx_elapsed_msec - delta;
|
||||
|
Loading…
Reference in New Issue
Block a user