style fix

This commit is contained in:
Igor Sysoev 2009-04-08 19:51:30 +00:00
parent a2de7b9b93
commit b37316d7dd
2 changed files with 14 additions and 14 deletions

View File

@ -922,10 +922,10 @@ ngx_cmp_sockaddr(struct sockaddr *sa1, struct sockaddr *sa2)
ngx_int_t ngx_int_t
ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log) ngx_create_pidfile(ngx_str_t *name, ngx_log_t *log)
{ {
size_t len; size_t len;
ngx_uint_t create; ngx_uint_t create;
ngx_file_t file; ngx_file_t file;
u_char pid[NGX_INT64_LEN + 2]; u_char pid[NGX_INT64_LEN + 2];
ngx_memzero(&file, sizeof(ngx_file_t)); ngx_memzero(&file, sizeof(ngx_file_t));

View File

@ -1373,10 +1373,10 @@ static ngx_int_t
ngx_http_optimize_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf, ngx_http_optimize_servers(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf,
ngx_array_t *ports) ngx_array_t *ports)
{ {
ngx_uint_t s, p, a; ngx_uint_t s, p, a;
ngx_http_conf_port_t *port; ngx_http_conf_port_t *port;
ngx_http_conf_addr_t *addr; ngx_http_conf_addr_t *addr;
ngx_http_server_name_t *name; ngx_http_server_name_t *name;
port = ports->elts; port = ports->elts;
for (p = 0; p < ports->nelts; p++) { 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_server_names(ngx_conf_t *cf, ngx_http_core_main_conf_t *cmcf,
ngx_http_conf_addr_t *addr) ngx_http_conf_addr_t *addr)
{ {
ngx_int_t rc; ngx_int_t rc;
ngx_uint_t s; ngx_uint_t s;
ngx_hash_init_t hash; ngx_hash_init_t hash;
ngx_http_server_name_t *name; ngx_hash_keys_arrays_t ha;
ngx_hash_keys_arrays_t ha; ngx_http_server_name_t *name;
#if (NGX_PCRE) #if (NGX_PCRE)
ngx_uint_t regex, i; ngx_uint_t regex, i;
regex = 0; regex = 0;
#endif #endif