diff options
author | Erik Price <github@erikprice.net> | 2013-07-29 21:32:27 -0400 |
---|---|---|
committer | Erik Price <github@erikprice.net> | 2013-07-29 21:32:27 -0400 |
commit | de7ebc55b1ee31d252160eed88d743c8ef45320b (patch) | |
tree | 80488b1f8b482480b8ac0f62a566a9984229f063 /core/network.c | |
parent | d503941f6cca9901e5b2946bf5997092e69b6520 (diff) |
Replace magic value "7" with string "echo"
Diffstat (limited to 'core/network.c')
-rw-r--r-- | core/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/network.c b/core/network.c index aa16bda9..3cd53ef7 100644 --- a/core/network.c +++ b/core/network.c | |||
@@ -178,7 +178,7 @@ int resolve_addr(char *address) | |||
178 | 178 | ||
179 | struct addrinfo *server = NULL; | 179 | struct addrinfo *server = NULL; |
180 | 180 | ||
181 | int success = getaddrinfo(address, "7", &hints, &server); | 181 | int success = getaddrinfo(address, "echo", &hints, &server); |
182 | if(success != 0) | 182 | if(success != 0) |
183 | return -1; | 183 | return -1; |
184 | 184 | ||