mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Replace magic value "7" with string "echo"
This commit is contained in:
parent
d503941f6c
commit
de7ebc55b1
|
@ -178,7 +178,7 @@ int resolve_addr(char *address)
|
||||||
|
|
||||||
struct addrinfo *server = NULL;
|
struct addrinfo *server = NULL;
|
||||||
|
|
||||||
int success = getaddrinfo(address, "7", &hints, &server);
|
int success = getaddrinfo(address, "echo", &hints, &server);
|
||||||
if(success != 0)
|
if(success != 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user