Mercurial > hg > nginx
changeset 2006:b52cb9bf2064
style fix: remove tabs and trailing spaces
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 14 May 2008 07:54:52 +0000 |
parents | 22ec7da42e6f |
children | b9de93d804ea |
files | src/core/ngx_open_file_cache.c src/core/ngx_resolver.c src/http/ngx_http_core_module.c src/os/unix/ngx_posix_config.h |
diffstat | 4 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_open_file_cache.c Tue May 13 09:47:52 2008 +0000 +++ b/src/core/ngx_open_file_cache.c Wed May 14 07:54:52 2008 +0000 @@ -413,13 +413,13 @@ if (file->count == 0) { - if (file->fd != NGX_INVALID_FILE) { - if (ngx_close_file(file->fd) == NGX_FILE_ERROR) { - ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno, - ngx_close_file_n " \"%s\" failed", + if (file->fd != NGX_INVALID_FILE) { + if (ngx_close_file(file->fd) == NGX_FILE_ERROR) { + ngx_log_error(NGX_LOG_ALERT, pool->log, ngx_errno, + ngx_close_file_n " \"%s\" failed", file->name); - } - } + } + } ngx_free(file->name); ngx_free(file);
--- a/src/core/ngx_resolver.c Tue May 13 09:47:52 2008 +0000 +++ b/src/core/ngx_resolver.c Wed May 14 07:54:52 2008 +0000 @@ -202,7 +202,7 @@ ngx_queue_remove(&rn->queue); for (ctx = rn->waiting; ctx; ctx = next) { - next = ctx->next; + next = ctx->next; if (ctx->event) { ngx_resolver_free(r, ctx->event);