Commit 08d0cdfd authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix typo

parent a2a9f153
...@@ -274,9 +274,9 @@ std::vector<LinkHeader> parse_link_header(const char *src, size_t len); ...@@ -274,9 +274,9 @@ std::vector<LinkHeader> parse_link_header(const char *src, size_t len);
// Constructs path by combining base path |base_path| of length // Constructs path by combining base path |base_path| of length
// |base_pathlen| with another path |rel_path| of length // |base_pathlen| with another path |rel_path| of length
// |rel_pathlen|. The base path and another path can have optional // |rel_pathlen|. The base path and another path can have optional
// query component. This function assumes |base_path| is // query component. This function assumes |base_path| is normalized.
// cannibalized. In other words, it does not contain ".." or "." path // In other words, it does not contain ".." or "." path components
// components and starts with "/" if it is not empty. // and starts with "/" if it is not empty.
std::string path_join(const char *base_path, size_t base_pathlen, std::string path_join(const char *base_path, size_t base_pathlen,
const char *base_query, size_t base_querylen, const char *base_query, size_t base_querylen,
const char *rel_path, size_t rel_pathlen, const char *rel_path, size_t rel_pathlen,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment