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
1210dd8a
Commit
1210dd8a
authored
Jun 09, 2018
by
shenlongxing
Browse files
fix integer case error
parent
be899b82
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
1210dd8a
...
@@ -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