Module: kamailio
Branch: master
Commit: 79fbb7c6df5d4c742b1283b752c2df0f51e77f09
URL:
https://github.com/kamailio/kamailio/commit/79fbb7c6df5d4c742b1283b752c2df0…
Author: Boris Korzun <korzun(a)miatel.ru>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-05-26T08:05:36+02:00
pike: fixed regression
- removed unnecessary NULL-return from mark_node() after previous commit
---
Modified: src/modules/pike/ip_tree.c
---
Diff:
https://github.com/kamailio/kamailio/commit/79fbb7c6df5d4c742b1283b752c2df0…
Patch:
https://github.com/kamailio/kamailio/commit/79fbb7c6df5d4c742b1283b752c2df0…
---
diff --git a/src/modules/pike/ip_tree.c b/src/modules/pike/ip_tree.c
index c0324c0476..1fe9227a5f 100644
--- a/src/modules/pike/ip_tree.c
+++ b/src/modules/pike/ip_tree.c
@@ -301,10 +301,6 @@ pike_ip_node_t* mark_node(unsigned char *ip,int ip_len,
}
}
- if(node==NULL) {
- return NULL;
- }
-
LM_DBG("only first %d were matched!\n",byte_pos);
*flag = 0;
*father = 0;