diff Core/HttpServer/FilesystemHttpHandler.cpp @ 50:a15e90e5d6fc

rename in code
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Sep 2012 15:50:12 +0200
parents 9be852ad33d2
children c996319e90bc
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpHandler.cpp	Wed Sep 05 15:38:08 2012 +0200
+++ b/Core/HttpServer/FilesystemHttpHandler.cpp	Wed Sep 05 15:50:12 2012 +0200
@@ -1,5 +1,5 @@
 /**
- * Palantir - A Lightweight, RESTful DICOM Store
+ * Palanthir - A Lightweight, RESTful DICOM Store
  * Copyright (C) 2012 Medical Physics Department, CHU of Liege,
  * Belgium
  *
@@ -20,12 +20,12 @@
 
 #include "FilesystemHttpHandler.h"
 
-#include "../PalantirException.h"
+#include "../PalanthirException.h"
 
 #include <boost/filesystem.hpp>
 
 
-namespace Palantir
+namespace Palanthir
 {
   struct FilesystemHttpHandler::PImpl
   {
@@ -91,7 +91,7 @@
     if (!fs::exists(pimpl_->root_) || 
         !fs::is_directory(pimpl_->root_))
     {
-      throw PalantirException("The path does not point to a directory");
+      throw PalanthirException("The path does not point to a directory");
     }
   }
 
@@ -136,7 +136,7 @@
     }
     else
     {
-      output.SendHeader(Palantir_HttpStatus_404_NotFound);
+      output.SendHeader(Palanthir_HttpStatus_404_NotFound);
     }
   } 
 }