mirror of
https://github.com/depp/syncfiles.git
synced 2024-05-28 23:41:27 +00:00
Fix volume for temporary files
GitOrigin-RevId: cde5591cac6bb2060fb277c9400989252120e8a1
This commit is contained in:
parent
94e38f1274
commit
fbe60364fe
2
sync.c
2
sync.c
|
@ -732,7 +732,7 @@ static int command_main(char *destpath, int mode) {
|
||||||
file->meta[kSrcDir].modTime);
|
file->meta[kSrcDir].modTime);
|
||||||
} else {
|
} else {
|
||||||
if (tempDir == 0) {
|
if (tempDir == 0) {
|
||||||
err = FindFolder(destVol, kTemporaryFolderType, TRUE,
|
err = FindFolder(srcVol, kTemporaryFolderType, TRUE,
|
||||||
&tempVol, &tempDir);
|
&tempVol, &tempDir);
|
||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
print_errcode(err, "could not find temporary folder");
|
print_errcode(err, "could not find temporary folder");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user