mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-13 07:37:15 +03:00
remove obsolete definitions
This commit is contained in:
parent
9fca586735
commit
417722e3c1
@ -262,14 +262,6 @@ static void connect_proxy(struct connection *cnx)
|
|||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* returns true if specified fd is initialised and present in fd_set */
|
|
||||||
static int is_fd_active(int fd, fd_set* set)
|
|
||||||
{
|
|
||||||
if (fd == -1) return 0;
|
|
||||||
return FD_ISSET(fd, set);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Process read activity on a socket in probe state
|
/* Process read activity on a socket in probe state
|
||||||
* IN/OUT cnx: connection data, updated if connected
|
* IN/OUT cnx: connection data, updated if connected
|
||||||
* IN/OUT info: updated if connected
|
* IN/OUT info: updated if connected
|
||||||
@ -412,7 +404,7 @@ void main_loop(struct listen_endpoint listen_sockets[], int num_addr_listen)
|
|||||||
|
|
||||||
fd_set readfds, writefds; /* working read and write fd sets */
|
fd_set readfds, writefds; /* working read and write fd sets */
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
int i, j, res;
|
int i, res;
|
||||||
int in_socket = 0;
|
int in_socket = 0;
|
||||||
|
|
||||||
fd_info.num_probing = 0;
|
fd_info.num_probing = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user