Skip to content

Commit

Permalink
avoid corner-case compiler error (fix #84)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Mauchle committed Jun 2, 2021
1 parent 0ad263a commit 27c8d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hostport.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ int resolvehostports(struct list *hostports, int af, int socktype) {
}

struct addrinfo *resolvepassiveaddrinfo(char **hostport, int af, char *default_port, int socktype) {
struct addrinfo *ai = NULL, *last_ai;
struct addrinfo *ai = NULL, *last_ai = NULL;
int i;
char *any[2] = {"*", NULL};

Expand Down

0 comments on commit 27c8d41

Please sign in to comment.