diff options
| author | lijiageng <lijiageng99@qq.com> | 2020-07-31 01:59:19 +0800 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-30 10:59:19 -0700 | 
| commit | 34b7f7a0ff9cc21ab50ce32e0ff620f4c1248058 (patch) | |
| tree | 9c561de78be4bc61b435a36250ddbea5e1827e7b | |
| parent | a8534675421a76f68dd175caa7f4b279dada9743 (diff) | |
| download | hiredict-34b7f7a0ff9cc21ab50ce32e0ff620f4c1248058.tar.xz | |
Keep libev's code style (#857)
| -rw-r--r-- | adapters/libev.h | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/adapters/libev.h b/adapters/libev.h index e1e7bbd..6191543 100644 --- a/adapters/libev.h +++ b/adapters/libev.h @@ -46,7 +46,7 @@ typedef struct redisLibevEvents {  static void redisLibevReadEvent(EV_P_ ev_io *watcher, int revents) {  #if EV_MULTIPLICITY -    ((void)loop); +    ((void)EV_A);  #endif      ((void)revents); @@ -56,7 +56,7 @@ static void redisLibevReadEvent(EV_P_ ev_io *watcher, int revents) {  static void redisLibevWriteEvent(EV_P_ ev_io *watcher, int revents) {  #if EV_MULTIPLICITY -    ((void)loop); +    ((void)EV_A);  #endif      ((void)revents); @@ -154,7 +154,7 @@ static int redisLibevAttach(EV_P_ redisAsyncContext *ac) {      e->context = ac;  #if EV_MULTIPLICITY -    e->loop = loop; +    e->loop = EV_A;  #else      e->loop = NULL;  #endif | 
