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
76aab08f
Commit
76aab08f
authored
Jul 26, 2017
by
Bo Cai
Committed by
antirez
Nov 28, 2017
Browse files
redis-cli.c typo: helpe -> helper.
Signed-off-by:
Bo Cai
<
charpty@gmail.com
>
parent
b6fe5074
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
76aab08f
...
@@ -710,7 +710,7 @@ int isColorTerm(void) {
...
@@ -710,7 +710,7 @@ int isColorTerm(void) {
return
t
!=
NULL
&&
strstr
(
t
,
"xterm"
)
!=
NULL
;
return
t
!=
NULL
&&
strstr
(
t
,
"xterm"
)
!=
NULL
;
}
}
/* Helpe function for sdsCatColorizedLdbReply() appending colorize strings
/* Helpe
r
function for sdsCatColorizedLdbReply() appending colorize strings
* to an SDS string. */
* to an SDS string. */
sds
sdscatcolor
(
sds
o
,
char
*
s
,
size_t
len
,
char
*
color
)
{
sds
sdscatcolor
(
sds
o
,
char
*
s
,
size_t
len
,
char
*
color
)
{
if
(
!
isColorTerm
())
return
sdscatlen
(
o
,
s
,
len
);
if
(
!
isColorTerm
())
return
sdscatlen
(
o
,
s
,
len
);
...
...
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