summaryrefslogtreecommitdiff
path: root/src/ae_epoll.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-12-15 11:50:15 +0100
committerantirez <antirez@gmail.com>2011-12-15 11:50:15 +0100
commit36dda9554a826104653765ec8782e055384c39f1 (patch)
treec4478da7df6099bce2ba073e0f5f075f2fae8ced /src/ae_epoll.c
parente074416be49947c7bab5e237fab7210441bd99e5 (diff)
downloadredis-36dda9554a826104653765ec8782e055384c39f1.tar.gz
ae_epoll.c typo introduced in the previous commit fixed.
Diffstat (limited to 'src/ae_epoll.c')
-rw-r--r--src/ae_epoll.c2
1 files changed, 1 insertions, 1 deletions
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;