Commit e5b9eb81 authored by Guy Benoish's avatar Guy Benoish Committed by antirez
Browse files

Typo in getTimeoutFromObjectOrReply's error reply

parent 0f31bb5c
...@@ -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 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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment