aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/bin/webserver/diceserver.cpp
diff options
context:
space:
mode:
authorRenaud Guezennec <renaud@rolisteam.org>2025-10-07 00:10:02 +0200
committerRenaud Guezennec <renaud@rolisteam.org>2025-11-10 02:39:57 +0000
commit19670fc751782d063fafd43c9be03ecc92572c6b (patch)
tree0c7a3a803324e7cc9f70a6f2f5ed41907b4468e8 /src/bin/webserver/diceserver.cpp
parent46cb61e9f90a480b0277816ae8d42e5b0c91fe0c (diff)
downloadOneRoll-19670fc751782d063fafd43c9be03ecc92572c6b.tar.gz
OneRoll-19670fc751782d063fafd43c9be03ecc92572c6b.zip
Fix error and cpp style.
Diffstat (limited to 'src/bin/webserver/diceserver.cpp')
-rw-r--r--src/bin/webserver/diceserver.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/webserver/diceserver.cpp b/src/bin/webserver/diceserver.cpp
index a3f094d..1871927 100644
--- a/src/bin/webserver/diceserver.cpp
+++ b/src/bin/webserver/diceserver.cpp
@@ -13,7 +13,9 @@ DiceServer::DiceServer(int port) : QObject(), m_diceParser(new DiceParser())
// using namespace ;
m_server= new qhttp::server::QHttpServer(this);
m_server->listen( // listening on 0.0.0.0:8080
- QHostAddress::Any, port, [=](qhttp::server::QHttpRequest* req, qhttp::server::QHttpResponse* res) {
+ QHostAddress::Any, port,
+ [=](qhttp::server::QHttpRequest* req, qhttp::server::QHttpResponse* res)
+ {
req->collectData(1024);
// qhttp::THeaderHash hash = req->headers();