fix compile error

This commit is contained in:
Yihao Deng 2024-07-12 03:01:19 +00:00
parent d37ac7935f
commit 0d7bd8e3af
1 changed files with 2 additions and 2 deletions

View File

@ -116,9 +116,9 @@ static int32_t taosBuildHttpHeader(const char* server, const char* uri, int32_t
code = TSDB_CODE_OUT_OF_RANGE;
}
} else {
return TSDB_CODE_INVALID_PARA;
code = TSDB_CODE_INVALID_PARA;
}
return 0;
return code;
}
static int32_t taosCompressHttpRport(char* pSrc, int32_t srcLen) {