Typo in getTimeoutFromObjectOrReply's error reply

This commit is contained in:
Guy Benoish 2020-04-11 15:05:01 +03:00 committed by antirez
parent 0f31bb5c1a
commit e5b9eb8171

View File

@ -166,7 +166,7 @@ int getTimeoutFromObjectOrReply(client *c, robj *object, mstime_t *timeout, int
if (unit == UNIT_SECONDS) {
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;
tval = (long long) (ftval * 1000.0);
} else {