From 58c0a3d8ef988c4385c1f2f1b97f23700743ad08 Mon Sep 17 00:00:00 2001 From: Haojun Liao Date: Thu, 17 Aug 2023 09:13:37 +0800 Subject: [PATCH] fix(stream): fix syntax error. --- source/libs/stream/src/streamSnapshot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/stream/src/streamSnapshot.c b/source/libs/stream/src/streamSnapshot.c index 0bf029f574..ff5ee2ca1b 100644 --- a/source/libs/stream/src/streamSnapshot.c +++ b/source/libs/stream/src/streamSnapshot.c @@ -95,7 +95,7 @@ int32_t streamGetFileSize(char* path, char* name, int64_t* sz) { char* fullname = taosMemoryCalloc(1, strlen(path) + 32); sprintf(fullname, "%s%s%s", path, TD_DIRSEP, name); - ret = taosStatFile(fullname, sz, NULL); + ret = taosStatFile(fullname, sz, NULL, NULL); taosMemoryFree(fullname); return ret;