Fix UB in examples
This commit is contained in:
parent
55de164023
commit
f8131b53d6
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ int main()
|
|||
match_entry * e = match_entry_createl("/garply/baz/grault", strlen("/garply/baz/grault") );
|
||||
m = r3_tree_match_entry(n , e);
|
||||
if (m) {
|
||||
printf("Matched! %s\n", e->path);
|
||||
printf("Matched! %s\n", e->path.base);
|
||||
}
|
||||
match_entry_free(e);
|
||||
r3_tree_free(n);
|
||||
|
|
Loading…
Reference in a new issue