changeset 3069:3db9697a0a58

cosmetic
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 29 Dec 2018 14:21:43 +0100
parents ad37c21ec4db
children 1bc4a1bb66e9 9b18c8d4d459
files Core/HttpServer/MongooseServer.cpp
diffstat 1 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/Core/HttpServer/MongooseServer.cpp	Sat Dec 29 14:16:43 2018 +0100
+++ b/Core/HttpServer/MongooseServer.cpp	Sat Dec 29 14:21:43 2018 +0100
@@ -42,10 +42,10 @@
 #include "HttpToolbox.h"
 
 #if ORTHANC_ENABLE_MONGOOSE == 1
-#  include "mongoose.h"
+#  include <mongoose.h>
 
 #elif ORTHANC_ENABLE_CIVETWEB == 1
-#  include "civetweb.h"
+#  include <civetweb.h>
 #  define MONGOOSE_USE_CALLBACKS 1
 
 #else
@@ -605,7 +605,7 @@
     // deprecated in Civetweb, using "remote_addr" instead.
     localhost = (std::string(request->remote_addr) == "127.0.0.1");
 #else
-#error
+#  error
 #endif
     
     // Check remote calls
@@ -676,7 +676,7 @@
     const char* remoteIp = request->remote_addr;
     const char* requestUri = request->local_uri;
 #else
-#error
+#  error
 #endif
 
     if (requestUri == NULL)
@@ -792,7 +792,7 @@
       void *that = mg_get_user_data(mg_get_context(connection));
       const char* requestUri = request->local_uri;
 #else
-#error
+#  error
 #endif
 
       if (requestUri == NULL)
@@ -907,7 +907,7 @@
   }
 
 #else
-#error Please set MONGOOSE_USE_CALLBACKS
+#  error Please set MONGOOSE_USE_CALLBACKS
 #endif
 
 
@@ -966,7 +966,7 @@
 #elif ORTHANC_ENABLE_CIVETWEB == 1
     LOG(INFO) << "Starting embedded Web server using Civetweb";
 #else
-#error
+#  error
 #endif  
 
     if (!IsRunning())
@@ -1011,7 +1011,7 @@
       pimpl_->context_ = mg_start(&callbacks, this, options);
 
 #else
-#error Please set MONGOOSE_USE_CALLBACKS
+#  error Please set MONGOOSE_USE_CALLBACKS
 #endif
 
       if (!pimpl_->context_)