diff options
Diffstat (limited to 'server/src/server.cc')
-rw-r--r-- | server/src/server.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/src/server.cc b/server/src/server.cc index 1bfa2b0..af46119 100644 --- a/server/src/server.cc +++ b/server/src/server.cc @@ -109,7 +109,7 @@ static std::string handleCommits(Transaction *transaction, Database &db, static std::string handleRequest(Transaction *transaction, - TCPSocket *pentominos_socket, + TCPSocket &pentominos_socket, Database &db, JournalWriter &journalwriter, MacroList ¯olist) @@ -251,7 +251,7 @@ static std::string handleRequest(Transaction *transaction, } static std::string handleTransaction(Transaction *transaction, - TCPSocket *pentominos_socket, + TCPSocket &pentominos_socket, Database &db, JournalWriter &journalwriter, MacroList ¯olist) @@ -333,7 +333,7 @@ static void handleConnection(TCPSocket *socket) if(parser->parse(buf, size)) { PRACRO_DEBUG(server, "Got complete XML document %d bytes used, %d bytes in current buffer.\n", parser->usedBytes(), size); - socket->write(handleTransaction(transaction, &pentominos_socket, db, journalwriter, macrolist)); + socket->write(handleTransaction(transaction, pentominos_socket, db, journalwriter, macrolist)); size = size - parser->usedBytes(); delete transaction; transaction = NULL; |