Browse Source

Autoformat after merge #234

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

+ 2 - 1
include/CivetServer.h

@@ -170,7 +170,8 @@ class CIVETWEB_API CivetServer
 	 * @throws CivetException
 	 */
 	CivetServer(const char **options, const struct mg_callbacks *callbacks = 0);
-	CivetServer(std::vector<std::string> options, const struct mg_callbacks *callbacks = 0);
+	CivetServer(std::vector<std::string> options,
+	            const struct mg_callbacks *callbacks = 0);
 
 	/**
 	 * Destructor

+ 3 - 3
src/CivetServer.cpp

@@ -252,9 +252,9 @@ CivetServer::CivetServer(std::vector<std::string> options,
 	}
 	callbacks.connection_close = closeHandler;
 
-	std::vector<const char*> pointers(options.size());
-	for (int i=0; i<options.size(); i++) {
-		pointers.push_back( options[i].c_str() );
+	std::vector<const char *> pointers(options.size());
+	for (int i = 0; i < options.size(); i++) {
+		pointers.push_back(options[i].c_str());
 	}
 	pointers.push_back(0);