Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Jan 12, 2015
1 parent ad690cc commit 411e686
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/redir.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,10 @@ static void remote_send_cb(EV_P_ ev_io *w, int revents)
free(ss_addr_to_send);

if (s < addr_len) {
LOGE("failed to send remote addr");
LOGE("failed to send addr");
close_and_free_remote(EV_A_ remote);
close_and_free_server(EV_A_ server);
return;
}

ev_io_start(EV_A_ & server->recv_ctx->io);
Expand Down

0 comments on commit 411e686

Please sign in to comment.