rem: DBG("PDT: prefix2domain: user part of the message was empty\n");
add: DBG("PDT:prefix2domain: user part of the message is empty\n");
context: static int prefix2domain(struct sip_msg* msg, char* str1, char* str2){	char *host_port;	code_t code=0, i;	int digit;		if(!msg)		return -1;		/* parse the uri, if not yet */	if(msg->parsed_uri_ok==0)		if(parse_sip_msg_uri(msg)<0)		{		  LOG(L_ERR,"PDT:prefix2domain: ERROR while parsing the R-URI\n");		  return -1;		}	/* if the user part begin with the prefix for PSTN users, extract the code*/	if (msg->parsed_uri.user.len<=0)	{		DBG("PDT: prefix2domain: user part of the message was empty\n");		return 1;	}		if(prefix_len>0 && strncasecmp(prefix, msg->parsed_uri.user.s, prefix_len)!=0)	{		DBG("PDT: prefix2domain: PSTN prefix did not matched\n");		return 1;				}	i=0;	code=0;	digit = msg->parsed_uri.user.s[prefix_len+i]-'0';	while (digit != code_terminator)	{		if (digit<0 || digit>9)		{					DBG("PDT: prefix2domain: domain_code not well formed\n");			return -1;		}				if(MAX_CODE_10<code || (MAX_CODE_10==code && MAX_CODE-MAX_CODE_R<=digit))		{			DBG("PDT: prefix2domain: domain_code not well formed\n");			return -1;			}		code=code*10+digit;		i++;		digit = msg->parsed_uri.user.s[prefix_len+i]-'0';	}		    	/* find the domain that corresponds to that code */	if(!(host_port=get_domain_from_hash(hash->chash, hash->hash_size, code)))	{		LOG(L_ERR, "PDT: get_domain_from_hash: required " 					"code %d is not allocated yet\n", code);		return -1;	}		/* update the new uri */	if(update_new_uri(msg, prefix_len+i+1, host_port)<0)	{		DBG("PDT: prefix2domain: new_uri cannot be updated\n");		return -1;	}	return 1;}