mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Fix typo about maddr (bug #4386)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5772 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -3459,7 +3459,7 @@ static void set_destination(struct sip_pvt *p, char *uri) | ||||
| 		maddr += 6; | ||||
| 		hn = strspn(maddr, "0123456789.") + 1; | ||||
| 		if (hn > sizeof(hostname)) hn = sizeof(hostname); | ||||
| 		ast_copy_string(hostname, h, hn); | ||||
| 		ast_copy_string(hostname, maddr, hn); | ||||
| 	} | ||||
| 	 | ||||
| 	hp = ast_gethostbyname(hostname, &ahp); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user