Fix regression compilation
This commit is contained in:
parent
9f6186cd9a
commit
5d0deb20b3
|
@ -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 ----//
|
||||||
|
|
Loading…
Reference in New Issue