document return code
This commit is contained in:
parent
af5a89b3ea
commit
2890ed142e
1 changed files with 2 additions and 0 deletions
|
@ -166,6 +166,8 @@ int r3_tree_compile(node *n, char **errstr)
|
|||
/**
|
||||
* This function combines ['/foo', '/bar', '/{slug}'] into (/foo)|(/bar)|/([^/]+)}
|
||||
*
|
||||
* Return -1 if error occurs
|
||||
* Return 0 if success
|
||||
*/
|
||||
int r3_tree_compile_patterns(node * n, char **errstr) {
|
||||
char * cpat;
|
||||
|
|
Loading…
Reference in a new issue