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
a51d3dc0
Commit
a51d3dc0
authored
Apr 10, 2023
by
Vitaly Arbuzov
Browse files
Move comment
parent
ad94bc31
Changes
1
Show whitespace changes
Inline
Side-by-side
src/dict.c
View file @
a51d3dc0
...
...
@@ -1534,8 +1534,8 @@ dictStats* dictGetStatsHt(dict *d, int htidx) {
return
stats
;
}
size_t
dictGetStatsMsg
(
char
*
buf
,
size_t
bufsize
,
dictStats
*
stats
)
{
/* Generate human readable stats. */
/* Generates human readable stats. */
size_t
dictGetStatsMsg
(
char
*
buf
,
size_t
bufsize
,
dictStats
*
stats
)
{
if
(
stats
->
htUsed
==
0
)
{
return
snprintf
(
buf
,
bufsize
,
"No stats available for empty dictionaries
\n
"
);
...
...
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