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
43af28f5
Unverified
Commit
43af28f5
authored
Aug 25, 2020
by
Wang Yuan
Committed by
GitHub
Aug 24, 2020
Browse files
Fix wrong format specifiers of 'sdscatfmt' for the INFO command (#7706)
unlike printf, sdscatfmt doesn't take %d
parent
6b4ae919
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
43af28f5
...
@@ -4141,7 +4141,7 @@ sds genRedisInfoString(const char *section) {
...
@@ -4141,7 +4141,7 @@ sds genRedisInfoString(const char *section) {
"lru_clock:%u
\r\n
"
"lru_clock:%u
\r\n
"
"executable:%s
\r\n
"
"executable:%s
\r\n
"
"config_file:%s
\r\n
"
"config_file:%s
\r\n
"
"io_threads_active:%
d
\r\n",
"io_threads_active:%
i
\r\n
"
,
REDIS_VERSION
,
REDIS_VERSION
,
redisGitSHA1
(),
redisGitSHA1
(),
strtol
(
redisGitDirty
(),
NULL
,
10
)
>
0
,
strtol
(
redisGitDirty
(),
NULL
,
10
)
>
0
,
...
...
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