Format all sources with Uncrustify

Formatted all sources and manually tuned some files to make the code look
neater.
This commit is contained in:
Markus Mäkelä
2018-09-10 12:40:03 +03:00
parent edd5ddcc88
commit d11c78ad80
183 changed files with 1865 additions and 1695 deletions

View File

@ -228,12 +228,11 @@ int Mariadb_nodes::find_master()
int master_node = 255;
while ((found == 0) && (i < N))
{
if (find_field(
nodes[i],
(char*) "show slave status;",
(char*) "Master_Host",
&str[0]
) == 0)
if (find_field(nodes[i],
(char*) "show slave status;",
(char*) "Master_Host",
&str[0]
) == 0)
{
found = 1;
strcpy(master_IP, str);