mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	res_config_mysql.c: Support hostnames up to 255 bytes.
Fixes #654
(cherry picked from commit 78471aa1a5)
			
			
This commit is contained in:
		
				
					committed by
					
						 Asterisk Development Team
						Asterisk Development Team
					
				
			
			
				
	
			
			
			
						parent
						
							e6ae2795cc
						
					
				
				
					commit
					fd33771560
				
			| @@ -84,7 +84,7 @@ struct mysql_conn { | ||||
| 	AST_RWLIST_ENTRY(mysql_conn) list; | ||||
| 	ast_mutex_t	lock; | ||||
| 	MYSQL       handle; | ||||
| 	char        host[50]; | ||||
| 	char        host[MAXHOSTNAMELEN]; | ||||
| 	char        name[50]; | ||||
| 	char        user[50]; | ||||
| 	char        pass[50]; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user