Belatedly changed the ngx_create_listening() prototype.
The function is called only with "struct sockaddr *" since 0.7.58.
This commit is contained in:
parent
889b8b9312
commit
bf89326f24
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue