Replace magic value "7" with string "echo"

This commit is contained in:
Erik Price 2013-07-29 21:32:27 -04:00
parent d503941f6c
commit de7ebc55b1

View File

@ -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;