mirror of https://mirror.osredm.com/root/redis.git
Typo in getTimeoutFromObjectOrReply's error reply
This commit is contained in:
parent
767977c533
commit
29760b2eb7
|
@ -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 an 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 {
|
||||||
|
|
Loading…
Reference in New Issue