rem: ip=str2ip(name, len, &err);
add: ip=str2ip((unsigned char*)name, len, &err);
context: static int fixup_t_forward(void** param, int param_no){	char* name;	struct hostent* he;	unsigned int port;	int err;#ifdef DNS_IP_HACK	unsigned int ip;	int len;#endif	DBG("TM module: fixup_t_forward(%s, %d)\n", (char*)*param, param_no);	if (param_no==1){		name=*param;#ifdef DNS_IP_HACK		len=strlen(name);		ip=str2ip(name, len, &err);		if (err==0){			goto copy;		}#endif		/* fail over to normal lookup */		he=gethostbyname(name);		if (he==0){			LOG(L_CRIT, "ERROR: mk_proxy: could not resolve hostname:"						" \"%s\"\n", name);			return E_BAD_ADDRESS;		}		memcpy(&ip, he->h_addr_list[0], sizeof(unsigned int));	copy:		free(*param);		*param=(void*)ip;		return 0;	}else if (param_no==2){		port=htons(str2s(*param, strlen(*param), &err));		if (err==0){			free(*param);			*param=(void*)port;			return 0;		}else{			LOG(L_ERR, "TM module:fixup_t_forward: bad port number <%s>\n",					(char*)(*param));			return E_UNSPEC;		}	}	return 0;}