diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-22 10:22:46 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-01-22 10:22:46 +0000 |
| commit | 0dcb4e9f403253a308b088c145e7404c28de2008 (patch) | |
| tree | bf43806b346e24fdf47ef7045d9b023f71a6462e /include | |
| parent | 621cd1669477fe40dfcb023bd48cdff267be84df (diff) | |
- added possibility of hostname using (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@3746 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
| -rw-r--r-- | include/zbxsock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zbxsock.h b/include/zbxsock.h index 96175a25..d32e891c 100644 --- a/include/zbxsock.h +++ b/include/zbxsock.h @@ -60,7 +60,7 @@ typedef struct sockaddr_in ZBX_SOCKADDR; int zbx_sock_read(ZBX_SOCKET sock, void *buf, int buflen, int timeout); int zbx_sock_write(ZBX_SOCKET sock, void *buf, int buflen); -struct hostent *zbx_gethost(char *addr); +struct hostent *zbx_gethost(const char *addr); #if defined (_WINDOWS) int zbx_sock_init(void); |
