Bläddra i källkod

Fix misleading error in fileservices

RemoteDirectory, giving misleading error if given host lookup failure

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 13 år sedan
förälder
incheckning
9b3c22612d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      plugins/fileservices/fileservices.cpp

+ 1 - 1
plugins/fileservices/fileservices.cpp

@@ -1469,7 +1469,7 @@ FILESERVICES_API void FILESERVICES_CALL fsRemoteDirectory(size32_t & __lenResult
     SocketEndpoint ep(machine);
     SocketEndpoint ep(machine);
     if (ep.isNull()){
     if (ep.isNull()){
         if (machine)
         if (machine)
-            throw MakeStringException(-1, "GetFileDescription: Could not resolve %s", machine);
+            throw MakeStringException(-1, "RemoteDirectory: Could not resolve host '%s'", machine);
         ep.setLocalHost(0);
         ep.setLocalHost(0);
     }
     }