Hide temp files for download to local.

This commit is contained in:
Klaas Freitag 2012-12-11 11:35:38 +01:00
parent 1705a309b2
commit 8ed89bca86

View file

@ -189,7 +189,7 @@ static int _csync_push_file(CSYNC *ctx, csync_file_stat_t *st) {
if (_push_to_tmp_first(ctx)) {
/* create the temporary file name */
if (asprintf(&turi, "%s.~XXXXXX", duri) < 0) {
if (asprintf(&turi, ".%s.~XXXXXX", duri) < 0) {
rc = -1;
goto out;
}