summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-05-22 12:09:41 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-05-22 12:09:41 +0000
commit3b30476068751fa7814b10302a63b7f3227c7450 (patch)
tree7ca108bd55a7e08775f74acf2e5627fbea5ebd3f /src/core
parent61e991c70a2a491fdb1ee1622df9ae72756b9008 (diff)
downloadnginx-3b30476068751fa7814b10302a63b7f3227c7450.tar.gz
nginx-3b30476068751fa7814b10302a63b7f3227c7450.tar.bz2
style fix
Diffstat (limited to 'src/core')
-rw-r--r--src/core/nginx.c2
-rw-r--r--src/core/ngx_connection.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/nginx.c b/src/core/nginx.c
index ee636825b..48e085ba3 100644
--- a/src/core/nginx.c
+++ b/src/core/nginx.c
@@ -1078,7 +1078,7 @@ ngx_set_cpu_affinity(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
ngx_conf_log_error(NGX_LOG_EMERG, cf, 0,
"invalid character \"%c\" in \"worker_cpu_affinity\"",
ch);
- return NGX_CONF_ERROR ;
+ return NGX_CONF_ERROR;
}
}
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index d22a08ed2..b49a696f2 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -229,7 +229,7 @@ ngx_open_listening_sockets(ngx_cycle_t *cycle)
/* TODO: configurable try number */
- for (tries = 5 ; tries; tries--) {
+ for (tries = 5; tries; tries--) {
failed = 0;
/* for each listening socket */