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
923502a7
Unverified
Commit
923502a7
authored
Nov 28, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Nov 28, 2017
Browse files
Merge pull request #4166 from charpty/wip-redisclic-typo
redis-cli.c typo: helpe -> helper.
parents
26826329
005d9fa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
923502a7
...
@@ -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