Use const varibable more consistently.

This commit is contained in:
Arnaud Cornet 2008-02-02 12:46:20 +01:00
parent d5ef114c2e
commit b024221cec
1 changed files with 1 additions and 1 deletions

View File

@ -928,7 +928,7 @@ static void create_listening_socket(char *hostname, char *port,
struct addrinfo *res, *cur;
struct addrinfo hint = {
.ai_flags = AI_PASSIVE,
.ai_family = PF_UNSPEC,
.ai_family = AF_UNSPEC,
.ai_socktype = SOCK_STREAM,
.ai_protocol = 0,