summaryrefslogtreecommitdiff
path: root/server/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2008-05-23 14:55:39 +0000
committerdeva <deva>2008-05-23 14:55:39 +0000
commit158915fafe286df69a68374032187ae283eb4ded (patch)
tree2f5b593ed9413039bb2b3b0828cb59cb226a39ba /server/src/server.cc
parent5dac0856cb400a4f40280e7caae188781dac7b85 (diff)
Did a lot of work on the database class.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r--server/src/server.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/server.cc b/server/src/server.cc
index b5631f0..77b3a6f 100644
--- a/server/src/server.cc
+++ b/server/src/server.cc
@@ -56,6 +56,8 @@ static void connection(TCPSocket &socket)
socket.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
socket.write("<pracro version=\"1.0\">\n");
+ Database db;
+
/*
//
// Handle commits
@@ -145,7 +147,7 @@ static void connection(TCPSocket &socket)
socket.write("\">\n");
if(macro.attributes["name"] == request.macro) {
- widgetgenerator(socket, macro, lqm);
+ widgetgenerator(socket, macro, lqm, db);
}
socket.write(" </macro>\n");