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
005d9fa8
Commit
005d9fa8
authored
Jul 26, 2017
by
Bo Cai
Browse files
redis-cli.c typo: helpe -> helper.
Signed-off-by:
Bo Cai
<
charpty@gmail.com
>
parent
dc997755
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
005d9fa8
...
@@ -624,7 +624,7 @@ int isColorTerm(void) {
...
@@ -624,7 +624,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