Fixed indentation.
This commit is contained in:
parent
08a3ba2ba1
commit
4d76e8afbc
@ -114,8 +114,8 @@ void posixSocket::connect(const vmime::string& address, const vmime::port_t port
|
|||||||
m_timeoutHandler->resetTimeOut();
|
m_timeoutHandler->resetTimeOut();
|
||||||
|
|
||||||
for (struct ::addrinfo* curAddrInfo = addrInfo ;
|
for (struct ::addrinfo* curAddrInfo = addrInfo ;
|
||||||
sock == -1 && curAddrInfo != NULL ;
|
sock == -1 && curAddrInfo != NULL ;
|
||||||
curAddrInfo = curAddrInfo->ai_next, connectErrno = ETIMEDOUT)
|
curAddrInfo = curAddrInfo->ai_next, connectErrno = ETIMEDOUT)
|
||||||
{
|
{
|
||||||
if (curAddrInfo->ai_family != AF_INET && curAddrInfo->ai_family != AF_INET6)
|
if (curAddrInfo->ai_family != AF_INET && curAddrInfo->ai_family != AF_INET6)
|
||||||
continue;
|
continue;
|
||||||
@ -634,7 +634,7 @@ bool posixSocket::waitForData(const bool read, const bool write, const int msecs
|
|||||||
// No data available at this time
|
// No data available at this time
|
||||||
// Check if we are timed out
|
// Check if we are timed out
|
||||||
if (m_timeoutHandler &&
|
if (m_timeoutHandler &&
|
||||||
m_timeoutHandler->isTimeOut())
|
m_timeoutHandler->isTimeOut())
|
||||||
{
|
{
|
||||||
if (!m_timeoutHandler->handleTimeOut())
|
if (!m_timeoutHandler->handleTimeOut())
|
||||||
{
|
{
|
||||||
@ -695,7 +695,7 @@ size_t posixSocket::receiveRaw(byte_t* buffer, const size_t count)
|
|||||||
|
|
||||||
// Check if we are timed out
|
// Check if we are timed out
|
||||||
if (m_timeoutHandler &&
|
if (m_timeoutHandler &&
|
||||||
m_timeoutHandler->isTimeOut())
|
m_timeoutHandler->isTimeOut())
|
||||||
{
|
{
|
||||||
if (!m_timeoutHandler->handleTimeOut())
|
if (!m_timeoutHandler->handleTimeOut())
|
||||||
{
|
{
|
||||||
@ -785,7 +785,7 @@ size_t posixSocket::sendRawNonBlocking(const byte_t* buffer, const size_t count)
|
|||||||
|
|
||||||
// Check if we are timed out
|
// Check if we are timed out
|
||||||
if (m_timeoutHandler &&
|
if (m_timeoutHandler &&
|
||||||
m_timeoutHandler->isTimeOut())
|
m_timeoutHandler->isTimeOut())
|
||||||
{
|
{
|
||||||
if (!m_timeoutHandler->handleTimeOut())
|
if (!m_timeoutHandler->handleTimeOut())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user