1
0
mirror of synced 2025-07-27 23:41:48 +03:00

Fixed problem with log format in server examples

This commit is contained in:
yhirose
2018-09-14 17:53:11 -04:00
parent 28d17448b7
commit 9546ec842b
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ std::string log(const Request& req, const Response& res)
s += "================================\n";
snprintf(buf, sizeof(buf), "%s %s %s", req.method.c_str(), req.path.c_str(), req.version.c_str());
snprintf(buf, sizeof(buf), "%s %s %s", req.method.c_str(), req.version.c_str(), req.path.c_str());
s += buf;
std::string query;