Welcome! Log In Create A New Profile

Advanced

[nginx] Limit conn: aligned field names in structures.

Valentin Bartenev
September 24, 2014 01:58PM
details: http://hg.nginx.org/nginx/rev/1e6bf87a7289
branches:
changeset: 5861:1e6bf87a7289
user: Valentin Bartenev <vbart@nginx.com>
date: Wed Sep 24 21:55:19 2014 +0400
description:
Limit conn: aligned field names in structures.

No functional changes.

diffstat:

src/http/modules/ngx_http_limit_conn_module.c | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)

diffs (47 lines):

diff -r c9787372f16d -r 1e6bf87a7289 src/http/modules/ngx_http_limit_conn_module.c
--- a/src/http/modules/ngx_http_limit_conn_module.c Wed Sep 24 21:55:19 2014 +0400
+++ b/src/http/modules/ngx_http_limit_conn_module.c Wed Sep 24 21:55:19 2014 +0400
@@ -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;



_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[nginx] Limit conn: aligned field names in structures.

Valentin Bartenev 458 September 24, 2014 01:58PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 160
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready