Browse Source

Remove potential double // in dllserver records

Noticed while looking at what might be needed for gh-2684 that some
dll entries in dali had double // in the locations. I don't think
this is likely to have any ill effect.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 13 năm trước cách đây
mục cha
commit
00769eade3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/dllserver/dllserver.cpp

+ 1 - 1
common/dllserver/dllserver.cpp

@@ -481,7 +481,7 @@ void DllServer::copyFileLocally(RemoteFilename & targetName, RemoteFilename & so
 
     targetLocalPath.append(rootDir);
     recursiveCreateDirectory(targetLocalPath.str());
-    targetLocalPath.append(PATHSEPCHAR);
+    addPathSepChar(targetLocalPath);
     splitFilename(sourceLocalPath.str(),NULL,NULL,&targetLocalPath,&targetLocalPath);
 
     SocketEndpoint hostEndpoint;