diff options
Diffstat (limited to 'src/common/socket.h')
-rw-r--r-- | src/common/socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/socket.h b/src/common/socket.h index fd8165cba..c56fb8387 100644 --- a/src/common/socket.h +++ b/src/common/socket.h @@ -131,7 +131,7 @@ void set_defaultparse(ParseFunc defaultparse); //hostname is the name to resolve. //ip is an array of char[4] where the individual parts of the ip are stored (optional) //ip_str is a char[16] where the whole ip is stored in string notation (optional) -in_addr_t resolve_hostbyname(char* hostname, unsigned char* ip, char* ip_str); +in_addr_t resolve_hostbyname(const char* hostname, unsigned char* ip, char* ip_str); int socket_getips(uint32* ips, int max); |