Browse code

pike: fixed regression - removed unnecessary NULL-return from mark_node() after previous commit

Boris Korzun authored on 25/05/2021 14:14:18 • Daniel-Constantin Mierla committed on 26/05/2021 06:05:36
Showing 1 changed files
... ...
@@ -301,10 +301,6 @@ pike_ip_node_t* mark_node(unsigned char *ip,int ip_len,
301 301
 		}
302 302
 	}
303 303
 
304
-	if(node==NULL) {
305
-		return NULL;
306
-	}
307
-
308 304
 	LM_DBG("only first %d were matched!\n",byte_pos);
309 305
 	*flag = 0;
310 306
 	*father = 0;