diff src/http/modules/ngx_http_upstream_ip_hash_module.c @ 1025:f88651afad40

style fix: remove tabs
author Igor Sysoev <igor@sysoev.ru>
date Fri, 12 Jan 2007 20:26:39 +0000
parents 4d68c486fcb0
children 44f7e6f36b8c
line wrap: on
line diff
--- a/src/http/modules/ngx_http_upstream_ip_hash_module.c
+++ b/src/http/modules/ngx_http_upstream_ip_hash_module.c
@@ -171,14 +171,14 @@ ngx_http_upstream_get_ip_hash_peer(ngx_p
 
             if (!peer->down) {
 
-		if (peer->max_fails == 0 || peer->fails < peer->max_fails) {
-		    break;
-		}
+                if (peer->max_fails == 0 || peer->fails < peer->max_fails) {
+                    break;
+                }
 
-		if (now - peer->accessed > peer->fail_timeout) {
-		    peer->fails = 0;
-		    break;
-		}
+                if (now - peer->accessed > peer->fail_timeout) {
+                    peer->fails = 0;
+                    break;
+                }
 
             } else {
                 iphp->rrp.tried[n] |= m;