Fixed typo

This commit is contained in:
HanzZ 2013-01-11 23:32:11 +01:00
parent 319a4d349e
commit 1595f7e448

View file

@ -67,7 +67,7 @@ bool PQXXBackend::connect() {
connection_str += " password=" + CONFIG_STRING(m_config, "database.password");
}
if (CONFIG_INT(m_config, "database.port") != 0) {
connection_str += " port=" + boost:lexical_cast<std::string>(CONFIG_INT(m_config, "database.port"));
connection_str += " port=" + boost::lexical_cast<std::string>(CONFIG_INT(m_config, "database.port"));
}
}
else {