diff options
Diffstat (limited to 'src/query.cc')
| -rw-r--r-- | src/query.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.cc b/src/query.cc index 76b31fd..086c9cc 100644 --- a/src/query.cc +++ b/src/query.cc @@ -95,7 +95,7 @@ void TQueryManagerConnection::connect(void){ int SocketFlags = fcntl(this->Socket, F_GETFL); if(SocketFlags == -1 || fcntl(this->Socket, F_SETFL, (SocketFlags | O_NONBLOCK)) == -1){ error("TQueryManagerConnection::connect: Failed to set socket as non-blocking: (%d) %s\n", - errno, strerrordesc_np(errno)); + errno, GetErrorDescription(errno)); this->disconnect(); continue; } |
