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
29760b2e
Commit
29760b2e
authored
Apr 11, 2020
by
Guy Benoish
Browse files
Typo in getTimeoutFromObjectOrReply's error reply
parent
767977c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/timeout.c
View file @
29760b2e
...
@@ -166,7 +166,7 @@ int getTimeoutFromObjectOrReply(client *c, robj *object, mstime_t *timeout, int
...
@@ -166,7 +166,7 @@ int getTimeoutFromObjectOrReply(client *c, robj *object, mstime_t *timeout, int
if
(
unit
==
UNIT_SECONDS
)
{
if
(
unit
==
UNIT_SECONDS
)
{
if
(
getLongDoubleFromObjectOrReply
(
c
,
object
,
&
ftval
,
if
(
getLongDoubleFromObjectOrReply
(
c
,
object
,
&
ftval
,
"timeout is not a
n
float or out of range"
)
!=
C_OK
)
"timeout is not a float or out of range"
)
!=
C_OK
)
return
C_ERR
;
return
C_ERR
;
tval
=
(
long
long
)
(
ftval
*
1000
.
0
);
tval
=
(
long
long
)
(
ftval
*
1000
.
0
);
}
else
{
}
else
{
...
...
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