Merge pull request #135 from fishgege/patch-1

bugfix: insert path success, but get data failed
This commit is contained in:
Yo-An Lin 2021-10-07 22:08:13 +08:00 committed by GitHub
commit d2fcf2f2d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -691,6 +691,7 @@ R3Node * r3_tree_insert_pathl_ex(R3Node *tree, const char *path, unsigned int pa
r3_node_append_route(tree, path, path_len, method, data);
info("tree router path is: %s, with len: %d\n", path, path_len);
}
tree->data = data;
return tree;
}