mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
bugfix: gate start
This commit is contained in:
@@ -130,7 +130,7 @@ skynet_socket_close(struct skynet_context *ctx, int id) {
|
||||
}
|
||||
|
||||
void
|
||||
skynet_socket_accept(struct skynet_context *ctx, int id) {
|
||||
skynet_socket_start(struct skynet_context *ctx, int id) {
|
||||
uint32_t source = skynet_context_handle(ctx);
|
||||
socket_server_accept(SOCKET_SERVER, source, id);
|
||||
socket_server_start(SOCKET_SERVER, source, id);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user