From fc3f068bc5d398c12b409e19303c66982276e4a4 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 9 Oct 2006 15:38:59 +0000 Subject: [PATCH] style fix: remove trailing spaces --- docs/xml/nginx/changes.xml | 32 ++++++++++++++++++++++ src/event/modules/ngx_eventport_module.c | 2 +- src/http/modules/ngx_http_browser_module.c | 2 +- src/http/modules/ngx_http_flv_module.c | 4 +-- src/os/unix/ngx_sunpro_x86.map | 2 +- src/os/win32/nginx_icon16.xpm | 2 +- src/os/win32/nginx_tray.xpm | 2 +- 7 files changed, 39 insertions(+), 7 deletions(-) diff --git a/docs/xml/nginx/changes.xml b/docs/xml/nginx/changes.xml index 26fee9c58..16e8d36d1 100644 --- a/docs/xml/nginx/changes.xml +++ b/docs/xml/nginx/changes.xml @@ -9,6 +9,38 @@ nginx changelog + + + + +модуль ngx_http_flv_module. + + +the ngx_http_flv_module. + + + + + +модуль ngx_http_charset_module поддерживает переменные. + + +the ngx_http_charset_module supports the variables. + + + + + +nginx не запускался на 64-битных платформах, отличной от amd64, sparc64 и ppc64. + + +nginx did not run on 64-bit platforms except amd64, sparc64, and ppc64. + + + + + + diff --git a/src/event/modules/ngx_eventport_module.c b/src/event/modules/ngx_eventport_module.c index 0334d44e0..740cf4dfd 100644 --- a/src/event/modules/ngx_eventport_module.c +++ b/src/event/modules/ngx_eventport_module.c @@ -498,7 +498,7 @@ ngx_eventport_process_events(ngx_cycle_t *cycle, ngx_msec_t timer, wev->active = 0; if (revents & POLLIN) { - + if ((flags & NGX_POST_THREAD_EVENTS) && !rev->accept) { rev->posted_ready = 1; diff --git a/src/http/modules/ngx_http_browser_module.c b/src/http/modules/ngx_http_browser_module.c index a2fb4bd36..98df6c575 100644 --- a/src/http/modules/ngx_http_browser_module.c +++ b/src/http/modules/ngx_http_browser_module.c @@ -61,7 +61,7 @@ static ngx_int_t ngx_http_browser_variable(ngx_http_request_t *r, static ngx_uint_t ngx_http_browser(ngx_http_request_t *r, ngx_http_browser_conf_t *cf); - + static ngx_int_t ngx_http_browser_add_variable(ngx_conf_t *cf); static void *ngx_http_browser_create_conf(ngx_conf_t *cf); static char *ngx_http_browser_merge_conf(ngx_conf_t *cf, void *parent, diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c index daa52777b..7fa736d80 100644 --- a/src/http/modules/ngx_http_flv_module.c +++ b/src/http/modules/ngx_http_flv_module.c @@ -183,7 +183,7 @@ ngx_http_flv_handler(ngx_http_request_t *r) log->action = "sending flv to client"; cln->handler = ngx_pool_cleanup_file; - clnf = cln->data; + clnf = cln->data; clnf->fd = fd; clnf->name = path.data; @@ -194,7 +194,7 @@ ngx_http_flv_handler(ngx_http_request_t *r) r->headers_out.last_modified_time = ngx_file_mtime(&fi); if (ngx_http_set_content_type(r) != NGX_OK) { - return NGX_HTTP_INTERNAL_SERVER_ERROR; + return NGX_HTTP_INTERNAL_SERVER_ERROR; } b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); diff --git a/src/os/unix/ngx_sunpro_x86.map b/src/os/unix/ngx_sunpro_x86.map index a73f2289c..971dda649 100644 --- a/src/os/unix/ngx_sunpro_x86.map +++ b/src/os/unix/ngx_sunpro_x86.map @@ -1,2 +1,2 @@ # disable { PAUSE ] hwcap for Sun Studio 11 -hwcap_1 = OVERRIDE; +hwcap_1 = OVERRIDE; diff --git a/src/os/win32/nginx_icon16.xpm b/src/os/win32/nginx_icon16.xpm index 8996864db..45e4bad37 100644 --- a/src/os/win32/nginx_icon16.xpm +++ b/src/os/win32/nginx_icon16.xpm @@ -21,4 +21,4 @@ static char * nginx_xpm[] = { " GGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGG ", " " -}; +}; diff --git a/src/os/win32/nginx_tray.xpm b/src/os/win32/nginx_tray.xpm index 6a8a6ea17..2fa0445bd 100644 --- a/src/os/win32/nginx_tray.xpm +++ b/src/os/win32/nginx_tray.xpm @@ -21,4 +21,4 @@ static char * nginx_xpm[] = { " GGGGGGGGGGGGGGGG ", " GGGGGGGGGGGGGGGG ", " " -}; +};