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
9b4cb4ad
Commit
9b4cb4ad
authored
Sep 18, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Sep 18, 2017
Browse files
Merge pull request #3554 from jybaek/Delete_duplicate
Remove Duplicate Processing
parents
8885921d
c76b9b64
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
9b4cb4ad
...
...
@@ -632,7 +632,6 @@ sds sdscatcolor(sds o, char *s, size_t len, char *color) {
int
bold
=
strstr
(
color
,
"bold"
)
!=
NULL
;
int
ccode
=
37
;
/* Defaults to white. */
if
(
strstr
(
color
,
"red"
))
ccode
=
31
;
else
if
(
strstr
(
color
,
"red"
))
ccode
=
31
;
else
if
(
strstr
(
color
,
"green"
))
ccode
=
32
;
else
if
(
strstr
(
color
,
"yellow"
))
ccode
=
33
;
else
if
(
strstr
(
color
,
"blue"
))
ccode
=
34
;
...
...
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