diff options
author | Ruslan Ermilov <ru@nginx.com> | 2016-05-20 17:02:04 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2016-05-20 17:02:04 +0300 |
commit | 61fbcd1cad8b2ba3f160c64ed8ddb3f19a11bd9c (patch) | |
tree | 498b02e50d1792a90cd7152f5000982c82112140 /src/core/ngx_connection.c | |
parent | 61ec58a9bed5ec0cae60c3f3b8d46382beecc5c6 (diff) |
Belatedly changed the ngx_create_listening() prototype.
The function is called only with "struct sockaddr *" since 0.7.58.
Diffstat (limited to 'src/core/ngx_connection.c')
-rw-r--r-- | src/core/ngx_connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c index 5a53bac31..19ec4ab75 100644 --- a/src/core/ngx_connection.c +++ b/src/core/ngx_connection.c @@ -17,7 +17,8 @@ static void ngx_drain_connections(void); ngx_listening_t * -ngx_create_listening(ngx_conf_t *cf, void *sockaddr, socklen_t socklen) +ngx_create_listening(ngx_conf_t *cf, struct sockaddr *sockaddr, + socklen_t socklen) { size_t len; ngx_listening_t *ls; |