diff options
author | deva <deva> | 2008-08-21 10:00:09 +0000 |
---|---|---|
committer | deva <deva> | 2008-08-21 10:00:09 +0000 |
commit | 8e1f28fdd6908a852dd0d11ea868fef965b89790 (patch) | |
tree | 83046052234ef0b03818541275fd4ffb1aaf51a2 /server/src/server.cc | |
parent | d3ea5701baadcdbc6df8775d88f173e52936307a (diff) |
Made postgres addr, username and password configurable.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r-- | server/src/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/server.cc b/server/src/server.cc index 75dc341..b98cc94 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -79,7 +79,7 @@ static std::string handleTransaction(Transaction &transaction) answer += "<pracro version=\"1.0\">\n"; try { - Database db; + Database db(Conf::database_addr, Conf::database_user, Conf::database_passwd); // // Handle commits |