|
|
|
@ -336,7 +336,7 @@ static bool proxy_remote_conn_ack(tproxy_conn_t *conn, int sock_err) |
|
|
|
//Returns -1 if something fails, >0 on success (socket fd).
|
|
|
|
static int connect_remote(const struct sockaddr *remote_addr, bool bApplyConnectionFooling) |
|
|
|
{ |
|
|
|
int remote_fd = 0, yes = 1, no = 0, v; |
|
|
|
int remote_fd = 0, yes = 1, no = 0; |
|
|
|
|
|
|
|
|
|
|
|
if((remote_fd = socket(remote_addr->sa_family, SOCK_STREAM, 0)) < 0) |
|
|
|
|