fix: compatibility after update stream

This commit is contained in:
Shengliang Guan 2022-12-02 08:00:10 +08:00
parent b8cc174211
commit 99657ccf78
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ SSdbRow *mndStreamActionDecode(SSdbRaw *pRaw) {
SDecoder decoder;
tDecoderInit(&decoder, buf, tlen + 1);
if (tDecodeSStreamObj(&decoder, pStream, 2) < 0) {
if (tDecodeSStreamObj(&decoder, pStream, sver) < 0) {
tDecoderClear(&decoder);
goto STREAM_DECODE_OVER;
}