Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
f231edc6
Commit
f231edc6
authored
Jul 28, 2014
by
antirez
Browse files
Merge branch 'unstable' of github.com:/antirez/redis into unstable
parents
ddd9fd41
d76c663d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis.c
View file @
f231edc6
...
...
@@ -3381,10 +3381,11 @@ void usage() {
void
redisAsciiArt
(
void
)
{
#include "asciilogo.h"
char
*
buf
=
zmalloc
(
1024
*
16
);
char *mode
= "stand alone"
;
char
*
mode
;
if
(
server
.
cluster_enabled
)
mode
=
"cluster"
;
else
if
(
server
.
sentinel_mode
)
mode
=
"sentinel"
;
else
mode
=
"standalone"
;
snprintf
(
buf
,
1024
*
16
,
ascii_logo
,
REDIS_VERSION
,
...
...
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