Browse Source

Refine #836

pull/839/head
Max Lv 8 years ago
parent
commit
0949f9a73b
1 changed files with 0 additions and 1 deletions
  1. 1
      src/local.c

1
src/local.c

@ -350,7 +350,6 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
} else if (s < (int)(remote->buf->len)) { } else if (s < (int)(remote->buf->len)) {
remote->buf->len -= s; remote->buf->len -= s;
remote->buf->idx = s; remote->buf->idx = s;
return;
} else { } else {
remote->buf->idx = 0; remote->buf->idx = 0;
remote->buf->len = 0; remote->buf->len = 0;

Loading…
Cancel
Save