Browse Source

Fix #841

pull/847/head
Max Lv 8 years ago
parent
commit
248fdcb610
1 changed files with 1 additions and 1 deletions
  1. 2
      src/local.c

2
src/local.c

@ -922,7 +922,7 @@ new_remote(int fd, int timeout)
ev_timer_init(&remote->send_ctx->watcher, remote_timeout_cb,
min(MAX_CONNECT_TIMEOUT, timeout), 0);
ev_timer_init(&remote->recv_ctx->watcher, remote_timeout_cb,
min(MAX_CONNECT_TIMEOUT, timeout), timeout);
timeout, timeout);
balloc(remote->buf, BUF_SIZE);

Loading…
Cancel
Save