Merge pull request #18 from thedrow/patch-1

Formatting optimization of C code in the README file.
This commit is contained in:
Pedro 2014-05-19 12:49:39 +08:00
commit e09ddb94e3

View file

@ -45,7 +45,7 @@ r3_tree_insert_pathl(n, "/foo/bar" , strlen("/foo/bar") , &route_data );
r3_tree_insert_pathl(n ,"/post/{id}", strlen("/post/{id}") , &route_data );
r3_tree_insert_pathl(n , "/user/{id:\\d+}" , strlen("/user/{id:\\d+}") , NULL, &route_data );
r3_tree_insert_pathl(n, "/user/{id:\\d+}", strlen("/user/{id:\\d+}"), &route_data );
// let's compile the tree!
r3_tree_compile(n);