summaryrefslogtreecommitdiff
path: root/core/network.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-07-30 04:26:31 -0700
committerirungentoo <irungentoo@gmail.com>2013-07-30 04:26:31 -0700
commite9dd83b5435aa9c84888f80e5b79c65477c9c0a1 (patch)
tree6f4da1c6deea91b347ee8a43274c4b9f884c14e9 /core/network.c
parent0c251d4b1d1da45a428cf822b8928c35e3bbc67e (diff)
parentde7ebc55b1ee31d252160eed88d743c8ef45320b (diff)
Merge pull request #146 from boredomist/patch-1
Replace magic value "7" with string "echo"
Diffstat (limited to 'core/network.c')
-rw-r--r--core/network.c2
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