aboutsummaryrefslogtreecommitdiff
path: root/src/query.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/query.cc')
-rw-r--r--src/query.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.cc b/src/query.cc
index 57665fe..76b31fd 100644
--- a/src/query.cc
+++ b/src/query.cc
@@ -165,7 +165,7 @@ int TQueryManagerConnection::read(uint8 *Buffer, int Size, int Timeout){
int64 Deadline = GetClockMonotonicMS() + TimeoutMS;
while(true){
struct pollfd pollfd = {};
- pollfd.fd = Socket;
+ pollfd.fd = this->Socket;
pollfd.events = POLLIN;
pollfd.revents = 0;
int ret = poll(&pollfd, 1, TimeoutMS);