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
cb384127
Commit
cb384127
authored
Sep 18, 2019
by
antirez
Browse files
RESP3: Use verbatim in CLIENT LIST.
parent
dd2f695d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networking.c
View file @
cb384127
...
@@ -1990,7 +1990,7 @@ NULL
...
@@ -1990,7 +1990,7 @@ NULL
return
;
return
;
}
}
sds
o
=
getAllClientsInfoString
(
type
);
sds
o
=
getAllClientsInfoString
(
type
);
addReply
BulkCBuffer
(
c
,
o
,
sdslen
(
o
));
addReply
Verbatim
(
c
,
o
,
sdslen
(
o
)
,
"txt"
);
sdsfree
(
o
);
sdsfree
(
o
);
}
else
if
(
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"reply"
)
&&
c
->
argc
==
3
)
{
}
else
if
(
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"reply"
)
&&
c
->
argc
==
3
)
{
/* CLIENT REPLY ON|OFF|SKIP */
/* CLIENT REPLY ON|OFF|SKIP */
...
...
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