Minor formatting fix

This commit is contained in:
Nick Krichevsky 2018-09-03 20:26:14 -04:00
parent e3b7dcb837
commit d650fc413c

View file

@ -92,7 +92,7 @@ static int build_addr_info(const char *hostname, int port, struct addrinfo **inf
char *port_string = malloc((port_length + 1) * sizeof(char));
sprintf(port_string, "%d", port);
int addr_status = getaddrinfo(hostname, port_string, &hints, info);
int addr_status = getaddrinfo(hostname, port_string, &hints, info);
free(port_string);
return addr_status;