[nginx] Resolver: removed unused field from ngx_resolver_ctx_t.

Roman Arutyunyan arut at nginx.com
Thu Jan 28 12:43:24 UTC 2016


details:   http://hg.nginx.org/nginx/rev/69977457e1a6
branches:  
changeset: 6364:69977457e1a6
user:      Roman Arutyunyan <arut at nginx.com>
date:      Thu Jan 28 15:28:19 2016 +0300
description:
Resolver: removed unused field from ngx_resolver_ctx_t.

diffstat:

 src/core/ngx_resolver.h |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 7fbeb0651e38 -r 69977457e1a6 src/core/ngx_resolver.h
--- a/src/core/ngx_resolver.h	Thu Jan 28 15:25:58 2016 +0300
+++ b/src/core/ngx_resolver.h	Thu Jan 28 15:28:19 2016 +0300
@@ -141,7 +141,7 @@ typedef struct {
 struct ngx_resolver_ctx_s {
     ngx_resolver_ctx_t       *next;
     ngx_resolver_t           *resolver;
-    ngx_udp_connection_t     *udp_connection;
+    ngx_resolver_node_t      *node;
 
     /* event ident must be after 3 pointers as in ngx_connection_t */
     ngx_int_t                 ident;
@@ -161,8 +161,6 @@ struct ngx_resolver_ctx_s {
     ngx_uint_t                quick;  /* unsigned  quick:1; */
     ngx_uint_t                recursion;
     ngx_event_t              *event;
-
-    ngx_resolver_node_t      *node;
 };
 
 



More information about the nginx-devel mailing list