summarylogtreecommitdiffstats
path: root/FoxServerThread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'FoxServerThread.patch')
-rw-r--r--FoxServerThread.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/FoxServerThread.patch b/FoxServerThread.patch
new file mode 100644
index 000000000000..2865c1ff1d4e
--- /dev/null
+++ b/FoxServerThread.patch
@@ -0,0 +1,26 @@
+diff -u10 -r objcryst-2017.2/Fox/src/FoxServerThread.cpp objcryst-2017.2.patched/Fox/src/FoxServerThread.cpp
+--- objcryst-2017.2/Fox/src/FoxServerThread.cpp 2017-06-28 22:21:21.000000000 +0200
++++ objcryst-2017.2.patched/Fox/src/FoxServerThread.cpp 2018-10-18 14:59:57.640722872 +0200
+@@ -63,21 +63,21 @@
+
+ //is still connected?
+ if(!m_pSocket->IsConnected()) {
+ CloseConnection();
+ wxThread::Sleep(1000);
+ break;
+ }
+
+ if(m_tThreadMutex->Lock()!=wxMUTEX_NO_ERROR) {
+ WriteLogMessage(_T("m_tThreadMutex locking error (Entry)"));
+- return false;
++ return 0;
+ }
+
+ WriteLogMessage(_T("Looping"));
+
+ if(m_newEvt){
+ m_newEvt=false;
+ switch(m_sckt_ntf)
+ {
+ case INPUT_MSG:
+ {