From 484e4415c6b15cd0e55142846c506adb3efb40fc Mon Sep 17 00:00:00 2001 From: yhirose Date: Wed, 28 Jun 2017 21:16:16 -0400 Subject: [PATCH] Fixed build error --- example/simplesvr.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/simplesvr.cc b/example/simplesvr.cc index c881bc2..1c9d5a2 100644 --- a/example/simplesvr.cc +++ b/example/simplesvr.cc @@ -35,7 +35,7 @@ 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; string query;