Mercurial > hg > nginx
diff src/core/ngx_times.c @ 271:e16dfb9b9afa
nginx-0.0.2-2004-02-26-20:10:01 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 26 Feb 2004 17:10:01 +0000 |
parents | 7bb9562216ce |
children | 87e73f067470 |
line wrap: on
line diff
--- a/src/core/ngx_times.c Wed Feb 25 20:16:15 2004 +0000 +++ b/src/core/ngx_times.c Thu Feb 26 17:10:01 2004 +0000 @@ -77,10 +77,8 @@ } #if (NGX_THREADS) - if (ngx_time_mutex) { - if (ngx_mutex_trylock(ngx_time_mutex) != NGX_OK) { - return; - } + if (ngx_mutex_trylock(ngx_time_mutex) != NGX_OK) { + return; } #endif @@ -119,9 +117,7 @@ tm.ngx_tm_sec); #if (NGX_THREADS) - if (ngx_time_mutex) { - ngx_mutex_unlock(ngx_time_mutex); - } + ngx_mutex_unlock(ngx_time_mutex); #endif }