Permalink
Browse files

Removes redundant / from the generation of the path.

  • Loading branch information...
skinkie committed Feb 10, 2013
1 parent 4bcf108 commit 2549350e571fbd44d152eebe56737ef1402972ab
Showing with 0 additions and 4 deletions.
  1. +0 −2 cherokee/rule_exists.c
  2. +0 −2 cherokee/rule_extensions.c
View
@@ -256,8 +256,6 @@ match (cherokee_rule_exists_t *rule,
cherokee_buffer_add_buffer (tmp, &conn->local_directory);
}
- cherokee_buffer_add_str (tmp, "/");
-
/* Always match */
if (rule->match_any) {
if (! cherokee_buffer_is_empty (&conn->web_directory)) {
@@ -114,8 +114,6 @@ local_file_exists (cherokee_rule_extensions_t *rule,
cherokee_buffer_add_buffer (tmp, &conn->local_directory);
}
- cherokee_buffer_add_str (tmp, "/");
-
if (! cherokee_buffer_is_empty (&conn->web_directory)) {
cherokee_buffer_add (tmp,
conn->request.buf + conn->web_directory.len,

0 comments on commit 2549350

Please sign in to comment.