Streams: fix error description for XADD when specified ID is small.

This commit is contained in:
antirez 2018-02-18 23:12:49 +01:00
parent 0a6780e560
commit 267f7f2c97

View File

@ -966,7 +966,7 @@ void xaddCommand(client *c) {
&id, id_given ? &id : NULL) &id, id_given ? &id : NULL)
== C_ERR) == C_ERR)
{ {
addReplyError(c,"The ID specified in XADD is smaller than the " addReplyError(c,"The ID specified in XADD is equal or smaller than the "
"target stream top item"); "target stream top item");
return; return;
} }