conninfo construction error fixed
committer: Markus Bröker <mbroeker@largo.homelinux.org>
--- a/db_bridge/postgresql_db.cpp
+++ b/db_bridge/postgresql_db.cpp
@@ -13,12 +13,12 @@
password = pwd;
database = db;
- conninfo = "user=" + user + "dbname=" + database;
+ conninfo = "user=" + user + " dbname=" + database;
if (server != "" && pwd == "") {
std::cout << "Passwort von " << user << "@" << server << ": ";
std::getline (std::cin, password);
- conninfo += " host=" + server + "password=" + password;
+ conninfo += " host=" + server + " password=" + password;
}
}