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
26826329
Unverified
Commit
26826329
authored
Nov 28, 2017
by
Salvatore Sanfilippo
Committed by
GitHub
Nov 28, 2017
Browse files
Merge pull request #4167 from charpty/wip-redisclic-typo2
redis-cli.c typo: Requets -> Requests.
parents
3508b9c4
00954f4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
26826329
...
@@ -2453,7 +2453,7 @@ static void statMode(void) {
...
@@ -2453,7 +2453,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