Browse Source

refine the order

pull/4/merge
Max Lv 11 years ago
parent
commit
2f448c9b59
1 changed files with 1 additions and 1 deletions
  1. 2
      src/server.c

2
src/server.c

@ -403,8 +403,8 @@ static void server_resolve_cb(EV_P_ ev_timer *watcher, int revents) {
memcpy(remote->buf, server->buf, server->buf_len); memcpy(remote->buf, server->buf, server->buf_len);
remote->buf_len = server->buf_len; remote->buf_len = server->buf_len;
remote->buf_idx = 0; remote->buf_idx = 0;
server->buf_idx = 0;
server->buf_len = 0; server->buf_len = 0;
server->buf_idx = 0;
} }
// listen to remote connected event // listen to remote connected event

Loading…
Cancel
Save