diff options
author | deva <deva> | 2008-05-23 14:55:39 +0000 |
---|---|---|
committer | deva <deva> | 2008-05-23 14:55:39 +0000 |
commit | 158915fafe286df69a68374032187ae283eb4ded (patch) | |
tree | 2f5b593ed9413039bb2b3b0828cb59cb226a39ba /server/src/server.cc | |
parent | 5dac0856cb400a4f40280e7caae188781dac7b85 (diff) |
Did a lot of work on the database class.
Diffstat (limited to 'server/src/server.cc')
-rw-r--r-- | server/src/server.cc | 4 |
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"); |