summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/BoostConnectionServerFactory.cpp')
-rw-r--r--Swiften/Network/BoostConnectionServerFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Swiften/Network/BoostConnectionServerFactory.cpp b/Swiften/Network/BoostConnectionServerFactory.cpp
index 8b3fd2f..6936453 100644
--- a/Swiften/Network/BoostConnectionServerFactory.cpp
+++ b/Swiften/Network/BoostConnectionServerFactory.cpp
@@ -19,11 +19,11 @@ namespace Swift {
19BoostConnectionServerFactory::BoostConnectionServerFactory(std::shared_ptr<boost::asio::io_service> ioService, EventLoop* eventLoop) : ioService(ioService), eventLoop(eventLoop) { 19BoostConnectionServerFactory::BoostConnectionServerFactory(std::shared_ptr<boost::asio::io_service> ioService, EventLoop* eventLoop) : ioService(ioService), eventLoop(eventLoop) {
20} 20}
21 21
22std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(int port) { 22std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(unsigned short port) {
23 return BoostConnectionServer::create(port, ioService, eventLoop); 23 return BoostConnectionServer::create(port, ioService, eventLoop);
24} 24}
25 25
26std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(const Swift::HostAddress &hostAddress, int port) { 26std::shared_ptr<ConnectionServer> BoostConnectionServerFactory::createConnectionServer(const Swift::HostAddress &hostAddress, unsigned short port) {
27 return BoostConnectionServer::create(hostAddress, port, ioService, eventLoop); 27 return BoostConnectionServer::create(hostAddress, port, ioService, eventLoop);
28} 28}
29 29