changeset 1025:f88651afad40

style fix: remove tabs
author Igor Sysoev <igor@sysoev.ru>
date Fri, 12 Jan 2007 20:26:39 +0000
parents eeadc558e86d
children 38be15c1379a
files src/event/ngx_event_openssl.c src/http/modules/ngx_http_ssi_filter_module.c src/http/modules/ngx_http_upstream_ip_hash_module.c src/http/modules/perl/ngx_http_perl_module.c src/imap/ngx_imap_handler.c src/os/win32/ngx_win32_config.h
diffstat 6 files changed, 23 insertions(+), 23 deletions(-) [+]
line wrap: on
line diff
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -1527,26 +1527,26 @@ ngx_ssl_remove_session(SSL_CTX *ssl, ngx
 
         do {
             if ((u_char) len == node->data) {
-		sess_id = (ngx_ssl_sess_id_t *) node;
+                sess_id = (ngx_ssl_sess_id_t *) node;
 
-		if (ngx_strncmp(id, sess_id->id, (size_t) len) == 0) {
+                if (ngx_strncmp(id, sess_id->id, (size_t) len) == 0) {
 
-		    sess_id->next->prev = sess_id->prev;
-		    sess_id->prev->next = sess_id->next;
+                    sess_id->next->prev = sess_id->prev;
+                    sess_id->prev->next = sess_id->next;
 
-		    ngx_rbtree_delete(cache->session_rbtree, node);
+                    ngx_rbtree_delete(cache->session_rbtree, node);
 
-		    ngx_slab_free_locked(shpool, sess_id->session);
+                    ngx_slab_free_locked(shpool, sess_id->session);
 #if (NGX_PTR_SIZE == 4)
-		    ngx_slab_free_locked(shpool, sess_id->id);
+                    ngx_slab_free_locked(shpool, sess_id->id);
 #endif
-		    ngx_slab_free_locked(shpool, sess_id);
+                    ngx_slab_free_locked(shpool, sess_id);
 
-		    goto done;
-		}
-	    }
+                    goto done;
+                }
+            }
 
-	    node = node->right;
+            node = node->right;
 
         } while (node != sentinel && hash == node->key);
 
--- a/src/http/modules/ngx_http_ssi_filter_module.c
+++ b/src/http/modules/ngx_http_ssi_filter_module.c
@@ -2381,7 +2381,7 @@ ngx_http_ssi_if(ngx_http_request_t *r, n
         noregex = 0;
         flags = NGX_HTTP_SSI_ADD_ZERO;
         last--;
-	p++;
+        p++;
 
     } else {
         noregex = 1;
--- 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;
--- a/src/http/modules/perl/ngx_http_perl_module.c
+++ b/src/http/modules/perl/ngx_http_perl_module.c
@@ -199,7 +199,7 @@ ngx_http_perl_handle_request(ngx_http_re
         ctx = ngx_pcalloc(r->pool, sizeof(ngx_http_perl_ctx_t));
         if (ctx == NULL) {
             ngx_http_finalize_request(r, NGX_ERROR);
-	    return;
+            return;
         }
 
         ngx_http_set_ctx(r, ctx, ngx_http_perl_module);
--- a/src/imap/ngx_imap_handler.c
+++ b/src/imap/ngx_imap_handler.c
@@ -1191,7 +1191,7 @@ ngx_imap_do_auth(ngx_imap_session_t *s)
     s->state = 0;
 
     if (s->connection->read->timer_set) {
-	ngx_del_timer(s->connection->read);
+        ngx_del_timer(s->connection->read);
     }
 
     s->login_attempt++;
--- a/src/os/win32/ngx_win32_config.h
+++ b/src/os/win32/ngx_win32_config.h
@@ -131,7 +131,7 @@ typedef int                 sig_atomic_t
 
 #define NGX_PTR_SIZE            4
 #define NGX_SIZE_T_LEN          sizeof("-2147483648") - 1
-#define NGX_MAX_SIZE_T_VALUE	2147483647
+#define NGX_MAX_SIZE_T_VALUE    2147483647
 #define NGX_TIME_T_LEN          sizeof("-2147483648") - 1
 #define NGX_TIME_T_SIZE         4
 #define NGX_OFF_T_LEN           sizeof("-9223372036854775807") - 1