Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
hiredis
Commits
34b7f7a0
Unverified
Commit
34b7f7a0
authored
Jul 31, 2020
by
lijiageng
Committed by
GitHub
Jul 30, 2020
Browse files
Keep libev's code style (#857)
parent
a8534675
Changes
1
Hide whitespace changes
Inline
Side-by-side
adapters/libev.h
View file @
34b7f7a0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment