clean up debug code
This commit is contained in:
parent
324d7014b4
commit
16d7cc207f
1 changed files with 0 additions and 5 deletions
|
@ -612,9 +612,6 @@ node * r3_tree_insert_pathl_(node *tree, const char *path, int path_len, route *
|
||||||
int slug_pattern_len = 0;
|
int slug_pattern_len = 0;
|
||||||
char *slug_pattern = slug_find_pattern(slug_p, &slug_pattern_len);
|
char *slug_pattern = slug_find_pattern(slug_p, &slug_pattern_len);
|
||||||
|
|
||||||
fprintf(stderr, "slug: %.*s\n", slug_len, slug_p);
|
|
||||||
fprintf(stderr, "slug pattern: '%.*s'\n", slug_pattern_len, slug_pattern);
|
|
||||||
|
|
||||||
int opcode = 0;
|
int opcode = 0;
|
||||||
// if there is a pattern defined.
|
// if there is a pattern defined.
|
||||||
if (slug_pattern_len) {
|
if (slug_pattern_len) {
|
||||||
|
@ -665,8 +662,6 @@ node * r3_tree_insert_pathl_(node *tree, const char *path, int path_len, route *
|
||||||
if (data)
|
if (data)
|
||||||
child->data = data;
|
child->data = data;
|
||||||
|
|
||||||
printf("insert %.*s\n", path_len, path);
|
|
||||||
|
|
||||||
r3_node_connectl(n, path, path_len, 1, child);
|
r3_node_connectl(n, path, path_len, 1, child);
|
||||||
if (route) {
|
if (route) {
|
||||||
route->data = data;
|
route->data = data;
|
||||||
|
|
Loading…
Reference in a new issue