From 36dda9554a826104653765ec8782e055384c39f1 Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 15 Dec 2011 11:50:15 +0100 Subject: [PATCH] ae_epoll.c typo introduced in the previous commit fixed. --- src/ae_epoll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ae_epoll.c b/src/ae_epoll.c index fc6d9ccdd..cac10d67f 100644 --- a/src/ae_epoll.c +++ b/src/ae_epoll.c @@ -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;