Merge pull request #146 from boredomist/patch-1

Replace magic value "7" with string "echo"
This commit is contained in:
irungentoo 2013-07-30 04:26:31 -07:00
commit e9dd83b543

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;