summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2008-08-21 10:00:09 +0000
committerdeva <deva>2008-08-21 10:00:09 +0000
commit8e1f28fdd6908a852dd0d11ea868fef965b89790 (patch)
tree83046052234ef0b03818541275fd4ffb1aaf51a2 /server/src/server.cc
parentd3ea5701baadcdbc6df8775d88f173e52936307a (diff)
Made postgres addr, username and password configurable.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc2
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