Procházet zdrojové kódy

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 před 13 roky
rodič
revize
00769eade3
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;