Fixed build errors and adjusted a test case.

This commit is contained in:
yhirose 2017-06-28 19:36:48 -04:00
parent f3eb1c4e00
commit 7cdf62dd31
4 changed files with 21 additions and 4 deletions

View file

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