From bea73b122de6f51c3e8df0baedee6a5bcdfa6a94 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Wed, 11 Dec 2024 16:07:06 +0800 Subject: [PATCH] fix: merge errors --- source/util/src/tutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/util/src/tutil.c b/source/util/src/tutil.c index 37dcfaa7b8..bf1f150262 100644 --- a/source/util/src/tutil.c +++ b/source/util/src/tutil.c @@ -525,8 +525,8 @@ bool tIsValidFileName(const char *fileName, const char *pattern) { bool tIsValidFilePath(const char *filePath, const char *pattern) { const char *filePathPattern = "^[a-zA-Z0-9:/\\_.-]+$"; - return tIsValidFileName(filePath, pattern ? pattern : filePathPattern); +} bool taosIsBigChar(char c) { if (c >= 'A' && c <= 'Z') {