mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 10:32:56 +01:00
spaces -> tabs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user