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
00954f4d
Commit
00954f4d
authored
Jul 26, 2017
by
Bo Cai
Browse files
redis-cli.c typo: Requets -> Requests.
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 @
00954f4d
...
@@ -2364,7 +2364,7 @@ static void statMode(void) {
...
@@ -2364,7 +2364,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