]> git.saurik.com Git - redis.git/commitdiff
ae_epoll.c typo introduced in the previous commit fixed.
authorantirez <antirez@gmail.com>
Thu, 15 Dec 2011 10:50:15 +0000 (11:50 +0100)
committerantirez <antirez@gmail.com>
Thu, 15 Dec 2011 10:50:15 +0000 (11:50 +0100)
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;