]> git.saurik.com Git - redis.git/blobdiff - src/ae_epoll.c
Tests for MONITOR.
[redis.git] / src / ae_epoll.c
index fc6d9ccddc0120fd25f5b19649fbc6de9a911e6f..cac10d67f7c01c6936b897e7a3bdc2985463edcf 100644 (file)
@@ -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;