diff options
author | irungentoo <irungentoo@gmail.com> | 2013-07-30 07:31:51 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-07-30 07:31:51 -0400 |
commit | b1726f55ed9864e36d11cbdaf616153da4c9ddb5 (patch) | |
tree | 9ad86830035c926f6536b4ba4a429dfcbe27ac13 /core/network.c | |
parent | e9dd83b5435aa9c84888f80e5b79c65477c9c0a1 (diff) | |
parent | 261f365e55d4711372f7053667aa368788eabea1 (diff) |
Merge branch 'master' of https://github.com/nurupo/InsertProjectNameHere into nurupo-master
Conflicts:
testing/CMakeLists.txt
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 3cd53ef7..a7a4efcd 100644 --- a/core/network.c +++ b/core/network.c | |||
@@ -169,7 +169,7 @@ void shutdown_networking() | |||
169 | address should represent IPv4, IPv6 or a hostname | 169 | address should represent IPv4, IPv6 or a hostname |
170 | on success returns a data in network byte order that can be used to set IP.i or IP_Port.ip.i | 170 | on success returns a data in network byte order that can be used to set IP.i or IP_Port.ip.i |
171 | on failure returns -1 */ | 171 | on failure returns -1 */ |
172 | int resolve_addr(char *address) | 172 | int resolve_addr(const char *address) |
173 | { | 173 | { |
174 | struct addrinfo hints; | 174 | struct addrinfo hints; |
175 | memset(&hints, 0, sizeof(hints)); | 175 | memset(&hints, 0, sizeof(hints)); |