fix(stream): fix compiler error.

This commit is contained in:
Haojun Liao 2024-06-25 14:25:59 +08:00
parent 195469f1dd
commit b668532713
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ int32_t uploadByRsync(const char* id, const char* path) {
} }
#ifdef WINDOWS #ifdef WINDOWS
char pathTransform[PATH_MAX] = {0}; memset(pathTransform, 0, PATH_MAX);
changeDirFromWindowsToLinux(path, pathTransform); changeDirFromWindowsToLinux(path, pathTransform);
if (pathTransform[strlen(pathTransform) - 1] != '/') { if (pathTransform[strlen(pathTransform) - 1] != '/') {