Finalize loop update
This commit is contained in:
parent
20706800ee
commit
4b5534b213
1 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ failed_socks5:
|
|||
}
|
||||
}
|
||||
|
||||
void configure_tcp_clients(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) {
|
||||
int configure_tcp_clients(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdinfo) {
|
||||
int err, pos;
|
||||
struct donar_client_ctx* app_ctx = (struct donar_client_ctx*) fdinfo->cat->app_ctx;
|
||||
|
||||
|
@ -102,7 +102,7 @@ void configure_tcp_clients(struct evt_core_ctx* ctx, struct evt_core_fdinfo* fdi
|
|||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
return 1;
|
||||
on_socks5_err:
|
||||
perror("An error occured while connecting to an Onion Service");
|
||||
app_ctx->client_sock[pos].state = SOCKS5_STATE_ERR;
|
||||
|
|
Loading…
Reference in a new issue