Minor formatting fix
This commit is contained in:
parent
e3b7dcb837
commit
d650fc413c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue