From d1445018324332a59fdf4e2564b858610bc7356a Mon Sep 17 00:00:00 2001 From: yihaoDeng Date: Tue, 30 Nov 2021 15:42:13 +0800 Subject: [PATCH] update fst core struct --- source/libs/index/src/index_fst.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/index/src/index_fst.c b/source/libs/index/src/index_fst.c index 315253d907..1d6e26e612 100644 --- a/source/libs/index/src/index_fst.c +++ b/source/libs/index/src/index_fst.c @@ -1265,7 +1265,7 @@ StreamWithStateResult *streamWithStateNextWith(StreamWithState *sws, StreamCallb return NULL; } if (FST_NODE_IS_FINAL(nextNode) && isMatch) { - FstOutput fOutput = {.null = false, out = out + FST_NODE_FINAL_OUTPUT(nextNode)}; + FstOutput fOutput = {.null = false, .out = out + FST_NODE_FINAL_OUTPUT(nextNode)}; return swsResultCreate(&slice, fOutput , tState); } } -- GitLab