ae_epoll.c typo introduced in the previous commit fixed.
This commit is contained in:
parent
1beff5317a
commit
ab6c78e66a
@ -13,7 +13,7 @@ static int aeApiCreate(aeEventLoop *eventLoop) {
|
||||
aeApiState *state = zmalloc(sizeof(aeApiState));
|
||||
|
||||
if (!state) return -1;
|
||||
state->events = zmalloc(sizeof(epoll_event)*eventLoop->setsize);
|
||||
state->events = zmalloc(sizeof(struct epoll_event)*eventLoop->setsize);
|
||||
if (!state->events) {
|
||||
zfree(state);
|
||||
return -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user