Use const varibable more consistently.
This commit is contained in:
parent
d5ef114c2e
commit
b024221cec
@ -928,7 +928,7 @@ static void create_listening_socket(char *hostname, char *port,
|
|||||||
struct addrinfo *res, *cur;
|
struct addrinfo *res, *cur;
|
||||||
struct addrinfo hint = {
|
struct addrinfo hint = {
|
||||||
.ai_flags = AI_PASSIVE,
|
.ai_flags = AI_PASSIVE,
|
||||||
.ai_family = PF_UNSPEC,
|
.ai_family = AF_UNSPEC,
|
||||||
.ai_socktype = SOCK_STREAM,
|
.ai_socktype = SOCK_STREAM,
|
||||||
.ai_protocol = 0,
|
.ai_protocol = 0,
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user