diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2026-05-28 23:56:29 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2026-05-28 23:56:29 -0300 |
| commit | e2ba7cd29617ae05087ad3d25c55a2eb8ce607a3 (patch) | |
| tree | 2a93ee38c7cc9c83b3b89b3f0f7cbb6fcb8e8b3c /src/query.cc | |
| parent | d1c4dce3be82aa7e50ddb5b43f15ecc00a16f985 (diff) | |
| download | game-e2ba7cd29617ae05087ad3d25c55a2eb8ce607a3.tar.gz game-e2ba7cd29617ae05087ad3d25c55a2eb8ce607a3.zip | |
fix issues and warnings when compiling with glibc < 2.32 (#57, #58)
This also fixes some inconsistencies such as mixing both strerror
and strerrordesc_np, and possible formatting issues.
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; } |
