Loading nfq/protocol.c +1 −1 Original line number Diff line number Diff line Loading @@ -587,7 +587,7 @@ static uint8_t tvb_get_varint(const uint8_t *tvb, uint64_t *value) return 8; } // impossible case if (*value) *value = 0; if (value) *value = 0; return 0; } static uint8_t tvb_get_size(uint8_t tvb) Loading tpws/tpws_conn.c +1 −4 Original line number Diff line number Diff line Loading @@ -835,8 +835,6 @@ static bool handle_unsent(tproxy_conn_t *conn) static bool proxy_mode_connect_remote(tproxy_conn_t *conn, struct tailhead *conn_list) { int remote_fd; if (params.debug>=1) { char ip_port[48]; Loading @@ -850,9 +848,8 @@ static bool proxy_mode_connect_remote(tproxy_conn_t *conn, struct tailhead *conn return false; } if (!(conn->partner = new_conn(remote_fd, true))) if (!(conn->partner = new_conn(0, true))) { close(remote_fd); DLOG_ERR("socks out-of-memory (1)\n"); socks_send_rep(conn->socks_ver, conn->fd, S5_REP_GENERAL_FAILURE); return false; Loading Loading
nfq/protocol.c +1 −1 Original line number Diff line number Diff line Loading @@ -587,7 +587,7 @@ static uint8_t tvb_get_varint(const uint8_t *tvb, uint64_t *value) return 8; } // impossible case if (*value) *value = 0; if (value) *value = 0; return 0; } static uint8_t tvb_get_size(uint8_t tvb) Loading
tpws/tpws_conn.c +1 −4 Original line number Diff line number Diff line Loading @@ -835,8 +835,6 @@ static bool handle_unsent(tproxy_conn_t *conn) static bool proxy_mode_connect_remote(tproxy_conn_t *conn, struct tailhead *conn_list) { int remote_fd; if (params.debug>=1) { char ip_port[48]; Loading @@ -850,9 +848,8 @@ static bool proxy_mode_connect_remote(tproxy_conn_t *conn, struct tailhead *conn return false; } if (!(conn->partner = new_conn(remote_fd, true))) if (!(conn->partner = new_conn(0, true))) { close(remote_fd); DLOG_ERR("socks out-of-memory (1)\n"); socks_send_rep(conn->socks_ver, conn->fd, S5_REP_GENERAL_FAILURE); return false; Loading