summaryrefslogtreecommitdiff
path: root/server/src/connection.cc
diff options
context:
space:
mode:
authordeva <deva>2010-06-18 07:36:48 +0000
committerdeva <deva>2010-06-18 07:36:48 +0000
commit6a35a6cfbf74226d4f4366a5aa92b1454684941f (patch)
treef22d4c219eea4508315b61a99411fba7a85722b1 /server/src/connection.cc
parent8e8841873284827787c21d2d98b1a53df82551d4 (diff)
Add initialisers
Diffstat (limited to 'server/src/connection.cc')
-rw-r--r--server/src/connection.cc2
1 files changed, 2 insertions, 0 deletions
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;
}
}