]> git.kaiwu.me - nginx.git/commitdiff
Limit conn: aligned field names in structures.
authorValentin Bartenev <vbart@nginx.com>
Wed, 24 Sep 2014 17:55:19 +0000 (21:55 +0400)
committerValentin Bartenev <vbart@nginx.com>
Wed, 24 Sep 2014 17:55:19 +0000 (21:55 +0400)
No functional changes.

src/http/modules/ngx_http_limit_conn_module.c

index dff158a4cdd35ab013129b4de48cd8916dd039c5..4379311ca83ee8f9cfdc0371f7d5adf00a9f3113 100644 (file)
 
 
 typedef struct {
-    u_char              color;
-    u_char              len;
-    u_short             conn;
-    u_char              data[1];
+    u_char                     color;
+    u_char                     len;
+    u_short                    conn;
+    u_char                     data[1];
 } ngx_http_limit_conn_node_t;
 
 
 typedef struct {
-    ngx_shm_zone_t     *shm_zone;
-    ngx_rbtree_node_t  *node;
+    ngx_shm_zone_t            *shm_zone;
+    ngx_rbtree_node_t         *node;
 } ngx_http_limit_conn_cleanup_t;
 
 
@@ -31,15 +31,15 @@ typedef struct {
 
 
 typedef struct {
-    ngx_shm_zone_t     *shm_zone;
-    ngx_uint_t          conn;
+    ngx_shm_zone_t            *shm_zone;
+    ngx_uint_t                 conn;
 } ngx_http_limit_conn_limit_t;
 
 
 typedef struct {
-    ngx_array_t         limits;
-    ngx_uint_t          log_level;
-    ngx_uint_t          status_code;
+    ngx_array_t                limits;
+    ngx_uint_t                 log_level;
+    ngx_uint_t                 status_code;
 } ngx_http_limit_conn_conf_t;