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
46713f83
Commit
46713f83
authored
Mar 23, 2009
by
Luc Heinrich
Browse files
Display the port on server startup.
parent
ed329fcf
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
46713f83
...
...
@@ -3063,7 +3063,7 @@ int main(int argc, char **argv) {
redisLog
(
REDIS_NOTICE
,
"DB loaded from disk"
);
if
(
aeCreateFileEvent
(
server
.
el
,
server
.
fd
,
AE_READABLE
,
acceptHandler
,
NULL
,
NULL
)
==
AE_ERR
)
oom
(
"creating file event"
);
redisLog
(
REDIS_NOTICE
,
"The server is now ready to accept connections
"
);
redisLog
(
REDIS_NOTICE
,
"The server is now ready to accept connections
on port %d"
,
server
.
port
);
aeMain
(
server
.
el
);
aeDeleteEventLoop
(
server
.
el
);
return
0
;
...
...
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