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
redis
Commits
3c72c94a
Commit
3c72c94a
authored
May 14, 2012
by
Pieter Noordhuis
Committed by
antirez
May 15, 2012
Browse files
Whitespace
parent
6d312770
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ae_evport.c
View file @
3c72c94a
...
@@ -65,7 +65,7 @@ static int aeApiCreate(aeEventLoop *eventLoop) {
...
@@ -65,7 +65,7 @@ static int aeApiCreate(aeEventLoop *eventLoop) {
}
}
eventLoop
->
apidata
=
state
;
eventLoop
->
apidata
=
state
;
return
0
;
return
0
;
}
}
static
void
aeApiFree
(
aeEventLoop
*
eventLoop
)
{
static
void
aeApiFree
(
aeEventLoop
*
eventLoop
)
{
...
@@ -247,7 +247,7 @@ static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) {
...
@@ -247,7 +247,7 @@ static int aeApiPoll(aeEventLoop *eventLoop, struct timeval *tvp) {
}
}
/*
/*
* port_getn can return with errno == ETIME having returned some events (!).
* port_getn can return with errno == ETIME having returned some events (!).
* So if we get ETIME, we check nevents, too.
* So if we get ETIME, we check nevents, too.
*/
*/
nevents
=
1
;
nevents
=
1
;
...
...
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