From cf4e867693a6053615f7910aec694e8cbd9aed59 Mon Sep 17 00:00:00 2001 From: wbaumann Date: Thu, 21 May 2009 09:19:40 +0000 Subject: [PATCH] Set src->utime = time(NULL). --- ChangeLog | 4 +++- src/cache.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 00755d1..2f3ab2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,7 +5,9 @@ ChangeLog for davfs2 * cache.c, move_dirty, move_reg: Use converted file name for dst_path. * cache.c: - Rename move_dirty to Move_no_remote. + Rename move_dirty to move_no_remote. + * cache.c, move_reg: + Set src->utime = time(NULL). 2009-05-15 Werner Baumann (werner.baumann@onlinehome.de) * cache.c, dav_close: diff --git a/src/cache.c b/src/cache.c index cc0f231..a74c4ca 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1949,7 +1949,7 @@ move_reg(dav_node *src, dav_node *dst, dav_node *dst_parent, src->name = ne_strdup(dst_name); free(src->path); src->path = dst_path; - src->utime = 0; + src->utime = time(NULL); return 0; }