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
5a3d490c
Commit
5a3d490c
authored
Jun 09, 2018
by
shenlongxing
Committed by
antirez
Jun 12, 2018
Browse files
fix integer case error
parent
24fb4e38
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
5a3d490c
...
@@ -1110,7 +1110,7 @@ void configSetCommand(client *c) {
...
@@ -1110,7 +1110,7 @@ void configSetCommand(client *c) {
}
config_set_numerical_field
(
}
config_set_numerical_field
(
"slowlog-max-len"
,
ll
,
0
,
LLONG_MAX
)
{
"slowlog-max-len"
,
ll
,
0
,
LLONG_MAX
)
{
/* Cast to unsigned. */
/* Cast to unsigned. */
server
.
slowlog_max_len
=
(
unsigned
)
ll
;
server
.
slowlog_max_len
=
(
unsigned
long
)
ll
;
}
config_set_numerical_field
(
}
config_set_numerical_field
(
"latency-monitor-threshold"
,
server
.
latency_monitor_threshold
,
0
,
LLONG_MAX
){
"latency-monitor-threshold"
,
server
.
latency_monitor_threshold
,
0
,
LLONG_MAX
){
}
config_set_numerical_field
(
}
config_set_numerical_field
(
...
...
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