Fix regression compilation

This commit is contained in:
Dolu1990 2022-10-27 15:20:55 +02:00
parent 9f6186cd9a
commit 5d0deb20b3
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
#include <netinet/tcp.h> #include <netinet/tcp.h>
/** Returns true on success, or false if there was an error */ /** Returns true on success, or false if there was an error */
bool SetSocketBlockingEnabled(int fd, bool blocking) bool SetSocketBlockingEnabledRegression(int fd, bool blocking)
{ {
if (fd < 0) return false; if (fd < 0) return false;
@ -73,7 +73,7 @@ public:
fprintf(stderr, "Error setting socket opts: %s\n", strerror(errno)); fprintf(stderr, "Error setting socket opts: %s\n", strerror(errno));
}*/ }*/
SetSocketBlockingEnabled(serverSocket,0); SetSocketBlockingEnabledRegression(serverSocket,0);
//---- Configure settings of the server address struct ----// //---- Configure settings of the server address struct ----//