From 6d527bd8083a16d331199c05a09ff68cb818acf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Mon, 26 Sep 2011 19:32:47 +0200 Subject: Fixed compilation warnings & errors. diff --git a/Swift/Controllers/FileTransfer/FileTransferController.h b/Swift/Controllers/FileTransfer/FileTransferController.h index 5d98468..3d6f7d5 100644 --- a/Swift/Controllers/FileTransfer/FileTransferController.h +++ b/Swift/Controllers/FileTransfer/FileTransferController.h @@ -9,6 +9,7 @@ #include #include +#include #include #include diff --git a/Swiften/Client/ClientSession.cpp b/Swiften/Client/ClientSession.cpp index 275f913..791ee75 100644 --- a/Swiften/Client/ClientSession.cpp +++ b/Swiften/Client/ClientSession.cpp @@ -52,13 +52,13 @@ ClientSession::ClientSession( allowPLAINOverNonTLS(false), useStreamCompression(true), useTLS(UseTLSWhenAvailable), + useAcks(true), needSessionStart(false), needResourceBind(false), needAcking(false), rosterVersioningSupported(false), authenticator(NULL), - certificateTrustChecker(NULL), - useAcks(true) { + certificateTrustChecker(NULL) { } ClientSession::~ClientSession() { diff --git a/Swiften/Client/ClientSession.h b/Swiften/Client/ClientSession.h index 939e96e..2205c8d 100644 --- a/Swiften/Client/ClientSession.h +++ b/Swiften/Client/ClientSession.h @@ -159,11 +159,11 @@ namespace Swift { bool allowPLAINOverNonTLS; bool useStreamCompression; UseTLS useTLS; + bool useAcks; bool needSessionStart; bool needResourceBind; bool needAcking; bool rosterVersioningSupported; - bool useAcks; ClientAuthenticator* authenticator; boost::shared_ptr stanzaAckRequester_; boost::shared_ptr stanzaAckResponder_; -- cgit v0.10.2-6-g49f6