spaces -> tabs

This commit is contained in:
aleks-f
2013-01-06 21:19:38 -06:00
parent aeeada3559
commit a401cdf892
8 changed files with 28 additions and 28 deletions

View File

@@ -84,7 +84,7 @@ HostEntry DNS::hostByName(const std::string& hostname)
return HostEntry(he);
}
#endif
error(lastError(), hostname); // will throw an appropriate exception
error(lastError(), hostname); // will throw an appropriate exception
throw NetException(); // to silence compiler
}

View File

@@ -133,9 +133,9 @@ HostEntry& HostEntry::operator = (const HostEntry& entry)
{
if (&entry != this)
{
_name = entry._name;
_aliases = entry._aliases;
_addresses = entry._addresses;
_name = entry._name;
_aliases = entry._aliases;
_addresses = entry._addresses;
}
return *this;
}

View File

@@ -466,13 +466,13 @@ bool SocketImpl::poll(const Poco::Timespan& timeout, int mode)
while (rc < 0 && lastError() == POCO_EINTR);
::close(epollfd);
if (rc < 0) error();
return rc > 0;
if (rc < 0) error();
return rc > 0;
#elif defined(POCO_HAVE_FD_POLL)
pollfd pollBuf;
memset(&pollBuf, 0, sizeof(pollfd));
pollBuf.fd = _sockfd;
if (mode & SELECT_READ) pollBuf.events |= POLLIN;