- server = *(i->value.begin());
- else if (s == "database")
- database = *(i->value.begin());
- else if (s == "user")
- user = *(i->value.begin());
- else if (s == "password")
- password = *(i->value.begin());
- else if (s == "retries")
- if (str2x(*(i->value.begin()), retries))
+ {
+ server = i->value.front();
+ }
+ if (s == "database")
+ {
+ database = i->value.front();
+ }
+ if (s == "user")
+ {
+ user = i->value.front();
+ }
+ if (s == "password")
+ {
+ password = i->value.front();
+ }
+ if (s == "retries")
+ {
+ if (str2x(i->value.front(), retries))