From 6deaa03114d92a722d03d78a31ec3cba98db5dc3 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sun, 6 Jan 2019 18:10:39 -0800 Subject: [PATCH] return false -> return -1 --- ixwebsocket/IXSocketConnect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ixwebsocket/IXSocketConnect.cpp b/ixwebsocket/IXSocketConnect.cpp index 2ccc36a7..402f1909 100644 --- a/ixwebsocket/IXSocketConnect.cpp +++ b/ixwebsocket/IXSocketConnect.cpp @@ -89,7 +89,7 @@ namespace ix { closeSocket(fd); errMsg = "Cancelled"; - return false; + return -1; } select(fd + 1, nullptr, &wfds, &efds, &timeout);