mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-24 20:23:06 +00:00
fix typo
This commit is contained in:
@@ -208,7 +208,7 @@ skynet_handle_init(int harbor) {
|
||||
struct handle_storage * s = malloc(sizeof(*H));
|
||||
s->slot_size = DEFAULT_SLOT_SIZE;
|
||||
s->slot = malloc(s->slot_size * sizeof(struct skynet_context *));
|
||||
memset(s->slot, 0, s->slot_size * sizeof(struct handle_slot *));
|
||||
memset(s->slot, 0, s->slot_size * sizeof(struct skynet_context *));
|
||||
|
||||
rwlock_init(&s->lock);
|
||||
// reserve 0 for system
|
||||
|
||||
Reference in New Issue
Block a user