summaryrefslogtreecommitdiffhomepage
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/ngx_connection.c1
-rw-r--r--src/core/ngx_connection.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
index 6056c3f40..9d064c5ac 100644
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -894,7 +894,6 @@ ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
return NGX_ERROR;
}
- c->local_socklen = len;
ngx_memcpy(c->local_sockaddr, &sa, len);
}
diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h
index ebc0c4c14..1810daca0 100644
--- a/src/core/ngx_connection.h
+++ b/src/core/ngx_connection.h
@@ -129,7 +129,6 @@ struct ngx_connection_s {
#endif
struct sockaddr *local_sockaddr;
- socklen_t local_socklen;
ngx_buf_t *buffer;