Sophie

Sophie

distrib > Fedora > 16 > x86_64 > media > updates-src > by-pkgid > aa0d9981be5577f36574429e19c7c660 > files > 2

pion-net-4.0.7-4.fc16.src.rpm

This patch is required to successfully build on Fedora 16.

Author: Jan Vcelak <jvcelak@redhat.com>

diff a/net/include/pion/net/TCPConnection.hpp b/net/include/pion/net/TCPConnection.hpp
--- a/net/include/pion/net/TCPConnection.hpp
+++ b/net/include/pion/net/TCPConnection.hpp
@@ -639,7 +639,7 @@ public:
 	
 	/// returns reference to the io_service used for async operations
 	inline boost::asio::io_service& getIOService(void) {
-		return m_ssl_socket.lowest_layer().io_service();
+		return m_ssl_socket.lowest_layer().get_io_service();
 	}
 
 	/// returns non-const reference to underlying TCP socket object