Added missing initialization of user and password variables in monitor_alloc.

This commit is contained in:
Markus Makela 2015-06-03 16:08:11 +03:00
parent 72d14f8894
commit fe5e40e397

View File

@ -81,6 +81,8 @@ MONITOR *mon;
mon->handle = NULL;
mon->databases = NULL;
mon->password = NULL;
mon->user = NULL;
mon->password = NULL;
mon->read_timeout = DEFAULT_READ_TIMEOUT;
mon->write_timeout = DEFAULT_WRITE_TIMEOUT;
mon->connect_timeout = DEFAULT_CONNECT_TIMEOUT;