summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-24 18:09:11 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-24 18:09:11 (GMT)
commit0dd979a856719f16925f84d6be532bd31044fa82 (patch)
tree25ef241df969d6cdb6ca9d5cc46db76ca695d133
parent42e410208ca9aa8af5f27c85a6b33af488a0b6cc (diff)
downloadswift-0dd979a856719f16925f84d6be532bd31044fa82.zip
swift-0dd979a856719f16925f84d6be532bd31044fa82.tar.bz2
Fix uninitialized streamstack.
-rw-r--r--Swiften/Client/UnitTest/ClientSessionTest.cpp2
-rw-r--r--Swiften/Session/Session.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Client/UnitTest/ClientSessionTest.cpp b/Swiften/Client/UnitTest/ClientSessionTest.cpp
index a91216c..bb10cfd 100644
--- a/Swiften/Client/UnitTest/ClientSessionTest.cpp
+++ b/Swiften/Client/UnitTest/ClientSessionTest.cpp
@@ -38,7 +38,7 @@ using namespace Swift;
class ClientSessionTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(ClientSessionTest);
- //CPPUNIT_TEST(testConstructor);
+ CPPUNIT_TEST(testConstructor);
/*
CPPUNIT_TEST(testStart_Error);
CPPUNIT_TEST(testStart_XMLError);
diff --git a/Swiften/Session/Session.cpp b/Swiften/Session/Session.cpp
index 5ee98e7..92d1fdc 100644
--- a/Swiften/Session/Session.cpp
+++ b/Swiften/Session/Session.cpp
@@ -14,6 +14,7 @@ Session::Session(
connection(connection),
payloadParserFactories(payloadParserFactories),
payloadSerializers(payloadSerializers),
+ streamStack(0),
initialized(false) {
}