mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 11:06:31 +00:00
res_config_mysql.c: Support hostnames up to 255 bytes.
Fixes #654
(cherry picked from commit e33bab1bfd
)
This commit is contained in:
committed by
Asterisk Development Team
parent
1897c57392
commit
2b27ea6dea
@@ -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