nginx-0.0.10-2004-08-23-19:37:10 import

This commit is contained in:
Igor Sysoev 2004-08-23 15:37:10 +00:00
parent 6deb041b2f
commit 94085ff2b5
2 changed files with 3 additions and 2 deletions

View File

@ -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"

View File

@ -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;