1
0
forked from bip/bip

Use const varibable more consistently.

This commit is contained in:
Arnaud Cornet 2008-02-02 12:46:20 +01:00
parent d5ef114c2e
commit b024221cec

View File

@ -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,