Cleanup SERVER struct

Removed one unused field. Rearranged others, clarified comments.
This commit is contained in:
Esa Korhonen
2018-04-26 15:29:41 +03:00
parent ba4700a983
commit 5d010ff712
41 changed files with 301 additions and 297 deletions

View File

@ -81,7 +81,7 @@ int test(bool success, const char* zHost, const char* zUser, const char* zPasswo
SERVER server;
memset(&server, 0, sizeof(server));
strcpy(server.name, zHost);
strcpy(server.address, zHost);
server.port = 3306;
MYSQL* pMysql = mysql_init(NULL);