diff options
Diffstat (limited to 'cpp/src/IcePatch2/FileServerI.cpp')
-rw-r--r-- | cpp/src/IcePatch2/FileServerI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2/FileServerI.cpp b/cpp/src/IcePatch2/FileServerI.cpp index f160c911070..dd74151ce84 100644 --- a/cpp/src/IcePatch2/FileServerI.cpp +++ b/cpp/src/IcePatch2/FileServerI.cpp @@ -65,7 +65,7 @@ IcePatch2::FileServerI::getFileCompressed(const string& pa, Int pos, Int num, co if(isAbsolute(pa)) { FileAccessException ex; - ex.reason = "Illegal absolute path: `" + pa + "'"; + ex.reason = "illegal absolute path `" + pa + "'"; throw ex; } @@ -79,7 +79,7 @@ IcePatch2::FileServerI::getFileCompressed(const string& pa, Int pos, Int num, co if(path.substr(slashPos + 1, endPos - slashPos - 1) == "..") { FileAccessException ex; - ex.reason = "illegal .. component in path: `" + pa + "'"; + ex.reason = "illegal `..' component in path `" + pa + "'"; throw ex; } slashPos = endPos; |