From 6a35a6cfbf74226d4f4366a5aa92b1454684941f Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 18 Jun 2010 07:36:48 +0000 Subject: Add initialisers --- server/src/connection.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/connection.cc b/server/src/connection.cc index 43d1ea9..9c69a9b 100644 --- a/server/src/connection.cc +++ b/server/src/connection.cc @@ -71,6 +71,7 @@ void Connection::commit(Session *session) session->commit(); env.sessions.deleteSession(session->id()); sessionid = ""; + docommit = false; #ifdef TEST_CONNECTION did_commit = true; #endif @@ -83,6 +84,7 @@ void Connection::discard(Session *session) session->discard(); env.sessions.deleteSession(session->id()); sessionid = ""; + dodiscard = false; } } -- cgit v1.2.3