From 524063f5656d5b3ed4b89efd8b2dd2a0814582a0 Mon Sep 17 00:00:00 2001 From: Denes Matetelki Date: Thu, 17 Nov 2011 15:03:53 +0100 Subject: [PATCH] Solving template warning --- include/TcpClient.hpp | 8 ++++---- src/Socket.cpp | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/TcpClient.hpp b/include/TcpClient.hpp index 07f1b37..4771044 100644 --- a/include/TcpClient.hpp +++ b/include/TcpClient.hpp @@ -32,7 +32,7 @@ private: void stopPoller() { TRACE; - stopPolling(); + Poll::stopPolling(); stop(); } @@ -44,7 +44,7 @@ private: TRACE; m_tcpClient.m_connection.receive(); - stopPolling(); + Poll::stopPolling(); } // overridig poll's behaviour @@ -52,7 +52,7 @@ private: { TRACE; LOG( Logger::DEBUG, "Server closed the connection." ); - stopPolling(); + Poll::stopPolling(); } private: @@ -60,7 +60,7 @@ private: void* run() { TRACE; - startPolling(); + Poll::startPolling(); return 0; } diff --git a/src/Socket.cpp b/src/Socket.cpp index 361b560..736680e 100644 --- a/src/Socket.cpp +++ b/src/Socket.cpp @@ -49,7 +49,7 @@ bool Socket::createSocket() m_socket = socket(m_domain, m_type, m_protocol); if ( m_socket == -1 ) { - LOG( Logger::ERR, errnoToString("ERROR opening socket. ").c_str() ); + LOG( Logger::ERR, errnoToString("ERROR creating socket. ").c_str() ); return false; }