summaryrefslogtreecommitdiffhomepage
path: root/src/stream
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
committerRuslan Ermilov <ru@nginx.com>2016-03-30 11:52:16 +0300
commit7ad57da59821294255610545b2b5ce07e74124a5 (patch)
tree91bb44ad5950b703d0f49a8744f0b9b08cf29f11 /src/stream
parentdfbc51a8cc850154fe8839408f32c7e322f5cdf0 (diff)
downloadnginx-7ad57da59821294255610545b2b5ce07e74124a5.tar.gz
nginx-7ad57da59821294255610545b2b5ce07e74124a5.tar.bz2
Style.
Diffstat (limited to 'src/stream')
-rw-r--r--src/stream/ngx_stream_upstream_least_conn_module.c2
-rw-r--r--src/stream/ngx_stream_upstream_round_robin.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/ngx_stream_upstream_least_conn_module.c b/src/stream/ngx_stream_upstream_least_conn_module.c
index 677da4549..c9719f92e 100644
--- a/src/stream/ngx_stream_upstream_least_conn_module.c
+++ b/src/stream/ngx_stream_upstream_least_conn_module.c
@@ -254,7 +254,7 @@ failed:
/ (8 * sizeof(uintptr_t));
for (i = 0; i < n; i++) {
- rrp->tried[i] = 0;
+ rrp->tried[i] = 0;
}
ngx_stream_upstream_rr_peers_unlock(peers);
diff --git a/src/stream/ngx_stream_upstream_round_robin.c b/src/stream/ngx_stream_upstream_round_robin.c
index efedb2882..e1ab59232 100644
--- a/src/stream/ngx_stream_upstream_round_robin.c
+++ b/src/stream/ngx_stream_upstream_round_robin.c
@@ -356,7 +356,7 @@ failed:
/ (8 * sizeof(uintptr_t));
for (i = 0; i < n; i++) {
- rrp->tried[i] = 0;
+ rrp->tried[i] = 0;
}
ngx_stream_upstream_rr_peers_unlock(peers);