From d7ae858745f722b845d3540a437f89a7fb8d0bb2 Mon Sep 17 00:00:00 2001 From: Wen Hui Date: Tue, 31 May 2022 00:57:59 -0400 Subject: [PATCH] Fix streamParseAddOrTrimArgsOrReply function minor comment issue (#10783) When I read the source codes, I have no idea where the option "age" come from. Co-authored-by: Ubuntu Co-authored-by: guybe7 --- src/t_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_stream.c b/src/t_stream.c index d3a3b92644..4383dcd5ad 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -946,7 +946,7 @@ static int streamParseAddOrTrimArgsOrReply(client *c, streamAddTrimArgs *args, i } args->approx_trim = 0; char *next = c->argv[i+1]->ptr; - /* Check for the form MINID ~ |. */ + /* Check for the form MINID ~ */ if (moreargs >= 2 && next[0] == '~' && next[1] == '\0') { args->approx_trim = 1; i++;