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