fix route cmp function
This commit is contained in:
parent
f74126e0a8
commit
34e779c84a
1 changed files with 0 additions and 6 deletions
|
@ -807,12 +807,6 @@ inline int r3_route_cmp(const route *r1, const match_entry *r2) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( r1->path && r2->path ) {
|
|
||||||
if ( strcmp(r1->path, r2->path) != 0 ) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( r1->host && r2->host ) {
|
if ( r1->host && r2->host ) {
|
||||||
if (strcmp(r1->host, r2->host) != 0 ) {
|
if (strcmp(r1->host, r2->host) != 0 ) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue