Skip to content
Snippets Groups Projects
Commit 8c9a59c2 authored by Sergey Linev's avatar Sergey Linev Committed by Bertrand Bellenot
Browse files

http: clang-format of modified sources

parent 772252ff
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,8 @@ protected: ...@@ -44,7 +44,8 @@ protected:
TString fDefaultPageCont; ///<! content of the file content TString fDefaultPageCont; ///<! content of the file content
TString fDrawPage; ///<! file name for drawing of single element TString fDrawPage; ///<! file name for drawing of single element
TString fDrawPageCont; ///<! content of draw page TString fDrawPageCont; ///<! content of draw page
TString fCors; ///<! CORS (cross-origin resource sharing): sets Access-Control-Allow-Origin for ProcessRequest responses TString
fCors; ///<! CORS (cross-origin resource sharing): sets Access-Control-Allow-Origin for ProcessRequest responses
std::mutex fMutex; ///<! mutex to protect list with arguments std::mutex fMutex; ///<! mutex to protect list with arguments
TList fCallArgs; ///<! submitted arguments TList fCallArgs; ///<! submitted arguments
......
...@@ -401,10 +401,12 @@ Bool_t TCivetweb::Create(const char *args) ...@@ -401,10 +401,12 @@ Bool_t TCivetweb::Create(const char *args)
// first extract port number // first extract port number
sport = ""; sport = "";
while ((*args != 0) && (*args != '?') && (*args != '/')) sport.Append(*args++); while ((*args != 0) && (*args != '?') && (*args != '/'))
sport.Append(*args++);
// than search for extra parameters // than search for extra parameters
while ((*args != 0) && (*args != '?')) args++; while ((*args != 0) && (*args != '?'))
args++;
if (*args == '?') { if (*args == '?') {
TUrl url(TString::Format("http://localhost/folder%s", args)); TUrl url(TString::Format("http://localhost/folder%s", args));
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment