[nginx] Upstream: style, ngx_http_upstream_rr_peer_t.next moved.

Maxim Dounin mdounin at mdounin.ru
Thu Sep 22 19:59:44 UTC 2016


details:   http://hg.nginx.org/nginx/rev/d69964eb8335
branches:  
changeset: 6701:d69964eb8335
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Mon Jul 25 16:23:35 2016 +0300
description:
Upstream: style, ngx_http_upstream_rr_peer_t.next moved.

diffstat:

 src/http/ngx_http_upstream_round_robin.h     |  4 ++--
 src/stream/ngx_stream_upstream_round_robin.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (34 lines):

diff --git a/src/http/ngx_http_upstream_round_robin.h b/src/http/ngx_http_upstream_round_robin.h
--- a/src/http/ngx_http_upstream_round_robin.h
+++ b/src/http/ngx_http_upstream_round_robin.h
@@ -42,11 +42,11 @@ struct ngx_http_upstream_rr_peer_s {
     int                             ssl_session_len;
 #endif
 
-    ngx_http_upstream_rr_peer_t    *next;
-
 #if (NGX_HTTP_UPSTREAM_ZONE)
     ngx_atomic_t                    lock;
 #endif
+
+    ngx_http_upstream_rr_peer_t    *next;
 };
 
 
diff --git a/src/stream/ngx_stream_upstream_round_robin.h b/src/stream/ngx_stream_upstream_round_robin.h
--- a/src/stream/ngx_stream_upstream_round_robin.h
+++ b/src/stream/ngx_stream_upstream_round_robin.h
@@ -42,11 +42,11 @@ struct ngx_stream_upstream_rr_peer_s {
     int                              ssl_session_len;
 #endif
 
-    ngx_stream_upstream_rr_peer_t   *next;
-
 #if (NGX_STREAM_UPSTREAM_ZONE)
     ngx_atomic_t                     lock;
 #endif
+
+    ngx_stream_upstream_rr_peer_t   *next;
 };
 
 



More information about the nginx-devel mailing list