mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-10 22:45:23 +00:00
Update server.c
This commit is contained in:
+1
-1
@@ -1129,7 +1129,7 @@ server_recv_cb(EV_P_ ev_io *w, int revents)
|
||||
return;
|
||||
}
|
||||
|
||||
port = ntohs(load16_be(server->buf->data + offset));
|
||||
port = *(uint16_t*)(server->buf->data + offset);
|
||||
|
||||
offset += 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user