Merge pull request #7085 from guybe7/timeout_err_typo

Typo in getTimeoutFromObjectOrReply's error reply
This commit is contained in:
Salvatore Sanfilippo 2020-04-14 11:40:51 +02:00 committed by GitHub
commit 7428f51217
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {