starter48
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/server.c
|
|
@ -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; |
|
|
|
|
|
|
|