diff options
-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; |