diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-28 16:47:06 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-28 16:47:06 +0000 |
commit | e85c4b09ab8a320607076b54fb75d1f0e3fb636c (patch) | |
tree | 80260f4d98649448b9ae85f6ad51661001af4c17 /src | |
parent | 3c56d9b753a5fdd61a8010edd68d0db5baf68790 (diff) |
Fixed dodgy poll()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1243 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connection.cpp b/src/connection.cpp index 1beaefbf7..36a4570eb 100644 --- a/src/connection.cpp +++ b/src/connection.cpp @@ -476,7 +476,7 @@ bool connection::RecvPacket(std::deque<std::string> &messages, char* recvhost) // check if theres any data on this socket // if not, continue onwards to the next. pollfd polls; - polls.fd = this->fd; + polls.fd = this->connectors[i].GetDescriptor(); polls.events = POLLIN; int ret = poll(&polls,1,1); if (ret <= 0) continue; |