mirror of
https://github.com/3proxy/3proxy.git
synced 2025-04-21 19:52:08 +08:00
Fix type for ssl_poll
This commit is contained in:
parent
94dfa195db
commit
ab8db00b1f
@ -211,7 +211,11 @@ static int WINAPI ssl_closesocket(void *state, SOCKET s){
|
|||||||
return sso._closesocket(sso.state, s);
|
return sso._closesocket(sso.state, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
static int WINAPI ssl_poll(void *state, struct pollfd *fds, unsigned int nfds, int timeout){
|
static int WINAPI ssl_poll(void *state, struct pollfd *fds, unsigned int nfds, int timeout){
|
||||||
|
#else
|
||||||
|
static int ssl_poll(void *state, struct pollfd *fds, nfds_t nfds, int timeout){
|
||||||
|
#endif
|
||||||
struct SSLsock *sslq = NULL;
|
struct SSLsock *sslq = NULL;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user