aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2009-04-08 19:51:30 +0000
committerIgor Sysoev <igor@sysoev.ru>2009-04-08 19:51:30 +0000
commitb37316d7dd7796677bb0f6e82b760b792b6ab19c (patch)
tree168eaee82ff47ba1d61191c914cdc52de87b06fe /src
parenta2de7b9b93a15128a46ba0186fddc2bdeed6c7cb (diff)
downloadnginx-b37316d7dd7796677bb0f6e82b760b792b6ab19c.tar.gz
nginx-b37316d7dd7796677bb0f6e82b760b792b6ab19c.zip
style fix
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_cycle.c8
-rw-r--r--src/http/ngx_http.c20
2 files changed, 14 insertions, 14 deletions
diff --git a/src/core/ngx_cycle.c b/src/core/ngx_cycle.c
index 91188cf5b..72b927a5c 100644
--- a/src/core/ngx_cycle.c
+++ b/src/core/ngx_cycle.c
@@ -922,10 +922,10 @@ ngx_cmp_sockaddr(struct sockaddr *sa1, struct sockaddr *sa2)
ngx_int_t
ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log)
{
- size_t len;
- ngx_uint_t create;
- ngx_file_t file;
- u_char pid[NGX_INT64_LEN + 2];
+ size_t len;
+ ngx_uint_t create;
+ ngx_file_t file;
+ u_char pid[NGX_INT64_LEN + 2];
ngx_memzero(&file, sizeof(ngx_file_t));
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index 2e7018003..ed766bcba 100644
--- a/src/http/ngx_http.c
+++ b/src/http/ngx_http.c
@@ -1373,10 +1373,10 @@ static ngx_int_t
ngx_http_optimize_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf,
ngx_array_t *ports)
{
- ngx_uint_t s, p, a;
- ngx_http_conf_port_t *port;
- ngx_http_conf_addr_t *addr;
- ngx_http_server_name_t *name;
+ ngx_uint_t s, p, a;
+ ngx_http_conf_port_t *port;
+ ngx_http_conf_addr_t *addr;
+ ngx_http_server_name_t *name;
port = ports->elts;
for (p = 0; p < ports->nelts; p++) {
@@ -1425,13 +1425,13 @@ static ngx_int_t
ngx_http_server_names(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf,
ngx_http_conf_addr_t *addr)
{
- ngx_int_t rc;
- ngx_uint_t s;
- ngx_hash_init_t hash;
- ngx_http_server_name_t *name;
- ngx_hash_keys_arrays_t ha;
+ ngx_int_t rc;
+ ngx_uint_t s;
+ ngx_hash_init_t hash;
+ ngx_hash_keys_arrays_t ha;
+ ngx_http_server_name_t *name;
#if (NGX_PCRE)
- ngx_uint_t regex, i;
+ ngx_uint_t regex, i;
regex = 0;
#endif