From 81517d457c23f5a02cb706d43c07541052163b68 Mon Sep 17 00:00:00 2001 From: wbaumann Date: Thu, 21 May 2009 07:48:50 +0000 Subject: [PATCH] Use converted file name for dst_path. --- ChangeLog | 4 ++++ src/cache.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6fb63e4..504b0a0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ ChangeLog for davfs2 -------------------- +2009-05-21 Werner Baumann (werner.baumann@onlinehome.de) + * cache.ce, move_dirty, move_reg: + Use converted file name for dst_path. + 2009-05-15 Werner Baumann (werner.baumann@onlinehome.de) * cache.c, dav_close: Always delete directory cache files on close. diff --git a/src/cache.c b/src/cache.c index 05c5a8d..0afc994 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1840,7 +1840,7 @@ move_dirty(dav_node *src, dav_node *dst, dav_node *dst_parent, char *dst_path; if (!dst) { char *dst_conv = dav_conv_to_server_enc(dst_name); - dst_path = ne_concat(dst_parent->path, dst_name, NULL); + dst_path = ne_concat(dst_parent->path, dst_conv, NULL); free(dst_conv); } else { dst_path = ne_strdup(dst->path); @@ -1910,7 +1910,7 @@ move_reg(dav_node *src, dav_node *dst, dav_node *dst_parent, char *dst_path; if (!dst) { char *dst_conv = dav_conv_to_server_enc(dst_name); - dst_path = ne_concat(dst_parent->path, dst_name, NULL); + dst_path = ne_concat(dst_parent->path, dst_conv, NULL); free(dst_conv); } else { dst_path = ne_strdup(dst->path);