From 22e4688e4d76091e4e3e1e9912d45ad331bd2c11 Mon Sep 17 00:00:00 2001 From: Martin Date: Sun, 24 Feb 2013 20:24:43 +0100 Subject: [PATCH] Properly handle long filenames on Linux server --- urbackupserver/server_get.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urbackupserver/server_get.cpp b/urbackupserver/server_get.cpp index ae25da0a..d17ddb67 100644 --- a/urbackupserver/server_get.cpp +++ b/urbackupserver/server_get.cpp @@ -1324,8 +1324,8 @@ bool BackupServerGet::doFullBackup(bool with_hashes, bool &disk_error, bool &log { if(cf.name!=L"..") { - curr_path+=L"/"+short_name; - std::wstring os_curr_path=curr_path; + std::wstring os_curr_path=curr_path+L"/"+short_name; + curr_path+=L"/"+cf.name; if(os_file_sep()!=L"/") { for(size_t i=0;i