summaryrefslogtreecommitdiff
path: root/toxcore/network.c
diff options
context:
space:
mode:
authorCoren[m] <Break@Ocean>2013-09-09 14:16:40 +0200
committerCoren[m] <Break@Ocean>2013-09-09 14:16:40 +0200
commit29d777ef67bc964229722db073a2abdd1eb737b6 (patch)
treeaaa91593de5c47199d1124456266e7da4483e2ad /toxcore/network.c
parenta128e3ff8f09250757ed4ed73fcc088cb5fd15ee (diff)
network.h:
- IP: add in_addr_t as part of the union - IP: rename IP to IP4
Diffstat (limited to 'toxcore/network.c')
-rw-r--r--toxcore/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/network.c b/toxcore/network.c
index 53b7e3b5..622a4b17 100644
--- a/toxcore/network.c
+++ b/toxcore/network.c
@@ -156,7 +156,7 @@ static void at_shutdown(void)
156 * return Networking_Core object if no problems 156 * return Networking_Core object if no problems
157 * return NULL if there are problems. 157 * return NULL if there are problems.
158 */ 158 */
159Networking_Core *new_networking(IP ip, uint16_t port) 159Networking_Core *new_networking(IP4 ip, uint16_t port)
160{ 160{
161 if (at_startup() != 0) 161 if (at_startup() != 0)
162 return NULL; 162 return NULL;