From 61fbcd1cad8b2ba3f160c64ed8ddb3f19a11bd9c Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Fri, 20 May 2016 17:02:04 +0300 Subject: Belatedly changed the ngx_create_listening() prototype. The function is called only with "struct sockaddr *" since 0.7.58. --- src/core/ngx_connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/ngx_connection.h') diff --git a/src/core/ngx_connection.h b/src/core/ngx_connection.h index 6357c645d..5e07e3174 100644 --- a/src/core/ngx_connection.h +++ b/src/core/ngx_connection.h @@ -210,7 +210,7 @@ struct ngx_connection_s { } -ngx_listening_t *ngx_create_listening(ngx_conf_t *cf, void *sockaddr, +ngx_listening_t *ngx_create_listening(ngx_conf_t *cf, struct sockaddr *sockaddr, socklen_t socklen); ngx_int_t ngx_clone_listening(ngx_conf_t *cf, ngx_listening_t *ls); ngx_int_t ngx_set_inherited_sockets(ngx_cycle_t *cycle); -- cgit