浏览代码

Fixed build error

yhirose 8 年之前
父节点
当前提交
484e4415c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      example/simplesvr.cc

+ 1 - 1
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;