Changeset - edcb55d4ce22
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-04-04 19:37:41
hanzz.k@gmail.com
Log XML in server mode too
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/transport.cpp
Show inline comments
 
@@ -64,6 +64,9 @@ Component::Component(Swift::EventLoop *loop, Config *config, Factory *factory) {
 
		m_server->start();
 
		m_stanzaChannel = m_server->getStanzaChannel();
 
		m_iqRouter = m_server->getIQRouter();
 

	
 
		m_server->onDataRead.connect(bind(&Component::handleDataRead, this, _1));
 
		m_server->onDataWritten.connect(bind(&Component::handleDataWritten, this, _1));
 
	}
 
	else {
 
		m_component = new Swift::Component(loop, m_factories, m_jid, CONFIG_STRING(m_config, "service.password"));
0 comments (0 inline, 0 general)