diff --git a/src/local.c b/src/local.c index 177eaf6a..570d8cd8 100644 --- a/src/local.c +++ b/src/local.c @@ -955,8 +955,8 @@ remote_recv_cb(EV_P_ ev_io *w, int revents) int opt = 0; setsockopt(server->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); setsockopt(remote->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); - remote->recv_ctx->connected = 1; } + remote->recv_ctx->connected = 1; } static void diff --git a/src/redir.c b/src/redir.c index 17ec5cce..3cec8d00 100644 --- a/src/redir.c +++ b/src/redir.c @@ -442,8 +442,8 @@ remote_recv_cb(EV_P_ ev_io *w, int revents) int opt = 0; setsockopt(server->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); setsockopt(remote->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); - remote->recv_ctx->connected = 1; } + remote->recv_ctx->connected = 1; } static void diff --git a/src/server.c b/src/server.c index d2793c67..9f77c03e 100644 --- a/src/server.c +++ b/src/server.c @@ -1147,8 +1147,8 @@ remote_recv_cb(EV_P_ ev_io *w, int revents) int opt = 0; setsockopt(server->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); setsockopt(remote->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); - remote->recv_ctx->connected = 1; } + remote->recv_ctx->connected = 1; } static void diff --git a/src/tunnel.c b/src/tunnel.c index f5947414..9e6cd0dd 100644 --- a/src/tunnel.c +++ b/src/tunnel.c @@ -382,8 +382,8 @@ remote_recv_cb(EV_P_ ev_io *w, int revents) int opt = 0; setsockopt(server->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); setsockopt(remote->fd, SOL_TCP, TCP_NODELAY, &opt, sizeof(opt)); - remote->recv_ctx->connected = 1; } + remote->recv_ctx->connected = 1; } static void