Mercurial > hg > orthanc
comparison Plugins/Samples/ServeFolders/Plugin.cpp @ 3531:877aff48ebb8
fix typo
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 03 Oct 2019 13:43:33 +0200 |
parents | 4e43e67f8ecf |
children | 94f4a18a79cc |
comparison
equal
deleted
inserted
replaced
3529:625625ed098f | 3531:877aff48ebb8 |
---|---|
300 | 300 |
301 // Check whether the source folder exists and is indeed a directory | 301 // Check whether the source folder exists and is indeed a directory |
302 const std::string folder = folders[*it].asString(); | 302 const std::string folder = folders[*it].asString(); |
303 if (!boost::filesystem::is_directory(folder)) | 303 if (!boost::filesystem::is_directory(folder)) |
304 { | 304 { |
305 OrthancPlugins::LogError("Trying and serve an inexistent folder: " + folder); | 305 OrthancPlugins::LogError("Trying to serve an inexistent folder: " + folder); |
306 ORTHANC_PLUGINS_THROW_EXCEPTION(InexistentFile); | 306 ORTHANC_PLUGINS_THROW_EXCEPTION(InexistentFile); |
307 } | 307 } |
308 | 308 |
309 folders_[baseUri] = folder; | 309 folders_[baseUri] = folder; |
310 | 310 |