mirror of
https://github.com/nginx/nginx.git
synced 2024-11-25 14:28:59 +08:00
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
61ec58a9be
commit
61fbcd1cad
@ -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 New Issue
Block a user