Skip to content

Commit bcc0916

Browse files
committed
Fix conditional in XGROUP.
1 parent 1b2f23f commit bcc0916

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/t_stream.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ NULL
17161716
}
17171717

17181718
/* Everything but the "HELP" option requires a key and group name. */
1719-
if (c->argc > 4) {
1719+
if (c->argc >= 4) {
17201720
o = lookupKeyWrite(c->db,c->argv[2]);
17211721
if (o) s = o->ptr;
17221722
grpname = c->argv[3]->ptr;

0 commit comments

Comments
 (0)