summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2014-09-24 21:55:19 +0400
committerValentin Bartenev <vbart@nginx.com>2014-09-24 21:55:19 +0400
commit98f7d0efb2f6b6d62f4684750676ba2581f333c0 (patch)
treeac961a337ce2b2222ea2b6852f30961796c72fc4
parentdd1ae4348a58c16a16b6e70c81875a2f751f661c (diff)
downloadnginx-98f7d0efb2f6b6d62f4684750676ba2581f333c0.tar.gz
nginx-98f7d0efb2f6b6d62f4684750676ba2581f333c0.tar.bz2
Limit conn: aligned field names in structures.
No functional changes.
-rw-r--r--src/http/modules/ngx_http_limit_conn_module.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/http/modules/ngx_http_limit_conn_module.c b/src/http/modules/ngx_http_limit_conn_module.c
index dff158a4c..4379311ca 100644
--- a/src/http/modules/ngx_http_limit_conn_module.c
+++ b/src/http/modules/ngx_http_limit_conn_module.c
@@ -11,16 +11,16 @@
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;