Merge branch 'develop' into MAX-65

This commit is contained in:
Mark Riddoch
2014-06-04 21:14:31 +01:00
10 changed files with 106 additions and 29 deletions

View File

@ -344,6 +344,8 @@ char *status = NULL;
if ((status = (char *)malloc(200)) == NULL)
return NULL;
status[0] = 0;
if (server->status & SERVER_MAINT)
strcat(status, "Maintenance, ");
if (server->status & SERVER_MASTER)
strcat(status, "Master, ");
if (server->status & SERVER_SLAVE)