From fbe60364fe065c2d84a62f0f938153589800130d Mon Sep 17 00:00:00 2001 From: Dietrich Epp Date: Wed, 10 Mar 2021 20:35:27 -0500 Subject: [PATCH] Fix volume for temporary files GitOrigin-RevId: cde5591cac6bb2060fb277c9400989252120e8a1 --- sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync.c b/sync.c index 3dcce8b..2ee457b 100644 --- a/sync.c +++ b/sync.c @@ -732,7 +732,7 @@ static int command_main(char *destpath, int mode) { file->meta[kSrcDir].modTime); } else { if (tempDir == 0) { - err = FindFolder(destVol, kTemporaryFolderType, TRUE, + err = FindFolder(srcVol, kTemporaryFolderType, TRUE, &tempVol, &tempDir); if (err != 0) { print_errcode(err, "could not find temporary folder");