rem: char flags;
add: unsigned char flags;
context: int pike_check_req(struct sip_msg *msg, char *foo, char *bar){	struct ip_node *node;	struct ip_node *father;	char flags;	struct ip_addr* ip;#ifdef _test	/* get the ip address from second via */	if (parse_headers(msg, HDR_VIA1, 0)!=0 )		return -1;	if (msg->via1==0 )		return -1;	/* convert from string to ip_addr */	ip = str2ip( &msg->via1->host );	if (ip==0)		return -1;#else	ip = &(msg->rcv.src_ip);#endif	/* first lock the proper tree branch and mark the IP with one more hit*/	lock_tree_branch( ip->u.addr[0] );	node = mark_node( ip->u.addr, ip->len, &father, &flags);	DBG("DEBUG:pike_check_req: src IP [%s]; hits=[%d,%d],[%d,%d] flags=%d\n",		ip_addr2a( ip ),		node->hits[PREV_POS],node->hits[CURR_POS],		node->leaf_hits[PREV_POS],node->leaf_hits[CURR_POS], flags);	/* update the timer */	lock_get(timer_lock);	if ( flags&NEW_NODE ) {		/* put this node into the timer list and remove its		   father only if this has one kid and is not a LEAF_NODE*/		node->expires =  get_ticks() + timeout;		append_to_timer( timer, &(node->timer_ll) );		if (father)		DBG("DEBUG:pike_check_req: father: leaf_hits=%d kids->next=%p\n",			father->leaf_hits[CURR_POS],father->kids->next);		if (father && father->leaf_hits[CURR_POS]==0 && father->kids->next==0){			assert( has_timer_set(&(father->timer_ll)) ); /* debug */			remove_from_timer( timer, &(father->timer_ll) );		}	} else {		/* update the timer -> in timer can be only nodes		 * as IP-leaf(complete address) or tree-leaf */		if (node->leaf_hits[CURR_POS] || node->kids==0) {			/* tree leafs which are not potencial red nodes are not update in			 * order to make them to expire */			assert( has_timer_set(&(node->timer_ll)) ); /* debug */			if ( !(flags&NO_UPDATE) ) {				node->expires = get_ticks() + timeout;				update_in_timer( timer, &(node->timer_ll) );			}		} else {			assert( !has_timer_set(&(node->timer_ll)) ); /* debug */			assert( node->hits[CURR_POS] && node->kids ); /* debug */		}	}	//print_timer_list( timer ); /* debug*/	lock_release(timer_lock);	unlock_tree_branch( ip->u.addr[0] );	//print_tree( 0 ); /* debug */	if (flags&RED_NODE) {		LOG(L_WARN,"DEBUG:pike_check_req: ALARM - TOO MANY HITS on "			"%s !!\n", ip_addr2a( ip ) );		return -1;	}	return 1;}