Rename MAX_SERVER_NAME_LEN to MAX_SERVER_ADDRESS_LEN

This commit is contained in:
Johan Wikman
2017-06-19 12:58:31 +03:00
parent 2f090a22fe
commit 32cd28daf2
4 changed files with 5 additions and 5 deletions

View File

@ -972,7 +972,7 @@ static const char* mon_get_event_name(MXS_MONITOR_SERVERS* node)
static void mon_append_node_names(MXS_MONITOR_SERVERS* servers, char* dest, int len, int status)
{
const char *separator = "";
char arr[MAX_SERVER_NAME_LEN + 64]; // Some extra space for port and separator
char arr[MAX_SERVER_ADDRESS_LEN + 64]; // Some extra space for port and separator
dest[0] = '\0';
while (servers && len)