diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-18 13:11:40 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-18 13:11:40 +0000 |
commit | fe7ea8b140aebdff88d171ca57650917905c6639 (patch) | |
tree | 2f1f5aef63cda72f9cc81a77109bf462bf8bd058 /src/htsserver.h | |
parent | 1fd27d74afe877424122f510c6e1b81264992883 (diff) |
Big cleanup in network address and dns functions:
* removed t_fullhostent insanity
* removed (struct sockaddr*) casts
* use SOCaddr everywhere rather than raw struct hostent*
Diffstat (limited to 'src/htsserver.h')
-rw-r--r-- | src/htsserver.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htsserver.h b/src/htsserver.h index c5db213..28c956c 100644 --- a/src/htsserver.h +++ b/src/htsserver.h @@ -147,7 +147,7 @@ HTS_UNUSED static int check_readinput_t(T_SOC soc, int timeout) { FD_SET(soc, &fds); tv.tv_sec = timeout; tv.tv_usec = 0; - select(soc + 1, &fds, NULL, NULL, &tv); + select((int) soc + 1, &fds, NULL, NULL, &tv); if (FD_ISSET(soc, &fds)) return 1; else |