clear edge->route when create
This commit is contained in:
parent
a4481a8ecb
commit
7687dd3aef
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ edge * r3_edge_create(char * pattern, int pattern_len, node * child) {
|
||||||
e->pattern = pattern;
|
e->pattern = pattern;
|
||||||
e->pattern_len = pattern_len;
|
e->pattern_len = pattern_len;
|
||||||
e->child = child;
|
e->child = child;
|
||||||
|
e->route = NULL;
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue