fix(stream): fix compiler error.
This commit is contained in:
parent
195469f1dd
commit
b668532713
|
@ -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] != '/') {
|
||||||
|
|
Loading…
Reference in New Issue