Browse Source

Auto format code after merge

bel 9 years ago
parent
commit
92c91a67cc
2 changed files with 4 additions and 3 deletions
  1. 3 2
      include/CivetServer.h
  2. 1 1
      src/CivetServer.cpp

+ 3 - 2
include/CivetServer.h

@@ -198,7 +198,7 @@ class CIVETWEB_API CivetWebSocketHandler
  * wrapper for mg_callbacks
  * wrapper for mg_callbacks
  */
  */
 struct CIVETWEB_API CivetCallbacks : public mg_callbacks {
 struct CIVETWEB_API CivetCallbacks : public mg_callbacks {
-    CivetCallbacks();
+	CivetCallbacks();
 };
 };
 
 
 /**
 /**
@@ -226,7 +226,8 @@ class CIVETWEB_API CivetServer
 	 *
 	 *
 	 * @throws CivetException
 	 * @throws CivetException
 	 */
 	 */
-	CivetServer(const char **options, const struct CivetCallbacks *callbacks = 0);
+	CivetServer(const char **options,
+	            const struct CivetCallbacks *callbacks = 0);
 	CivetServer(std::vector<std::string> options,
 	CivetServer(std::vector<std::string> options,
 	            const struct CivetCallbacks *callbacks = 0);
 	            const struct CivetCallbacks *callbacks = 0);
 
 

+ 1 - 1
src/CivetServer.cpp

@@ -265,7 +265,7 @@ CivetServer::webSocketCloseHandler(const struct mg_connection *conn,
 
 
 CivetCallbacks::CivetCallbacks()
 CivetCallbacks::CivetCallbacks()
 {
 {
-    memset(this, 0, sizeof(*this));
+	memset(this, 0, sizeof(*this));
 }
 }
 
 
 CivetServer::CivetServer(const char **options,
 CivetServer::CivetServer(const char **options,