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
a75f2025
Commit
a75f2025
authored
Jul 26, 2017
by
Bo Cai
Committed by
antirez
Nov 28, 2017
Browse files
redis-cli.c typo: Requets -> Requests.
Signed-off-by:
Bo Cai
<
charpty@gmail.com
>
parent
76aab08f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
a75f2025
...
@@ -2452,7 +2452,7 @@ static void statMode(void) {
...
@@ -2452,7 +2452,7 @@ static void statMode(void) {
sprintf
(
buf
,
"%ld"
,
aux
);
sprintf
(
buf
,
"%ld"
,
aux
);
printf
(
"%-8s"
,
buf
);
printf
(
"%-8s"
,
buf
);
/* Requets */
/* Reque
s
ts */
aux
=
getLongInfoField
(
reply
->
str
,
"total_commands_processed"
);
aux
=
getLongInfoField
(
reply
->
str
,
"total_commands_processed"
);
sprintf
(
buf
,
"%ld (+%ld)"
,
aux
,
requests
==
0
?
0
:
aux
-
requests
);
sprintf
(
buf
,
"%ld (+%ld)"
,
aux
,
requests
==
0
?
0
:
aux
-
requests
);
printf
(
"%-19s"
,
buf
);
printf
(
"%-19s"
,
buf
);
...
...
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