xclaimCommand(): fix comment typos.

This commit is contained in:
antirez 2018-10-04 17:34:06 +02:00
parent 32e0d2376f
commit 68c0e6e331

View File

@ -2063,9 +2063,9 @@ void xclaimCommand(client *c) {
* do some sanity check on it, and set the deliverytime to now * do some sanity check on it, and set the deliverytime to now
* (which is a sane choice usually) if the value is bogus. * (which is a sane choice usually) if the value is bogus.
* To raise an error here is not wise because clients may compute * To raise an error here is not wise because clients may compute
* the idle time doing some math startin from their local time, * the idle time doing some math starting from their local time,
* and this is not a good excuse to fail in case, for instance, * and this is not a good excuse to fail in case, for instance,
* the computed time is a bit in the future from our POV. */ * the computer time is a bit in the future from our POV. */
if (deliverytime < 0 || deliverytime > now) deliverytime = now; if (deliverytime < 0 || deliverytime > now) deliverytime = now;
} else { } else {
/* If no IDLE/TIME option was passed, we want the last delivery /* If no IDLE/TIME option was passed, we want the last delivery