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; }