From 34e779c84a62b65cbbbdafa4d2f0a63e985e80af Mon Sep 17 00:00:00 2001 From: Yo-An Lin Date: Thu, 12 Jun 2014 21:01:16 +0800 Subject: [PATCH] fix route cmp function --- src/node.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/node.c b/src/node.c index 4049b4a..b6d5951 100644 --- a/src/node.c +++ b/src/node.c @@ -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 (strcmp(r1->host, r2->host) != 0 ) { return -1;