Better if you write correct code
This commit is contained in:
parent
449c661cb3
commit
fb6a9dfab0
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ void init_tcp_client(struct donar_client_ctx* ctx, int i) {
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
sock1 = create_tcp_client("127.0.0.1", "9050");
|
sock1 = create_tcp_client("127.0.0.1", "9050");
|
||||||
if (err < 0) goto failed_socks5;
|
if (sock1 < 0) goto failed_socks5;
|
||||||
ctx->client_sock[i].fd = sock1;
|
ctx->client_sock[i].fd = sock1;
|
||||||
ctx->client_sock[i].state = SOCKS5_STATE_NEW;
|
ctx->client_sock[i].state = SOCKS5_STATE_NEW;
|
||||||
evt_core_add_fd (&(ctx->evts), "configure-socks5", sock1);
|
evt_core_add_fd (&(ctx->evts), "configure-socks5", sock1);
|
||||||
|
|
Loading…
Reference in a new issue