diff options
-rw-r--r-- | os/WaitFor.c | 2 | ||||
-rw-r--r-- | os/inputthread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/os/WaitFor.c b/os/WaitFor.c index eb4c8b5cd..7f6c73b1f 100644 --- a/os/WaitFor.c +++ b/os/WaitFor.c @@ -166,7 +166,7 @@ WaitForSomething(int *pClientsReady) /* watch for input thread updates, so the main thread can proceed with the * processing of events */ - AddEnabledDevice(InputThreadReadPipe); + AddGeneralSocket(InputThreadReadPipe); /* We need a while loop here to handle crashed connections and the screen saver timeout */ diff --git a/os/inputthread.c b/os/inputthread.c index 26f1ef0dc..c7e0450e5 100644 --- a/os/inputthread.c +++ b/os/inputthread.c @@ -164,7 +164,7 @@ CreateInputThread (void) void CloseInputThread (void) { - RemoveEnabledDevice(InputThreadReadPipe); + RemoveGeneralSocket(InputThreadReadPipe); FD_ZERO(&InputThreadFd); NumDevicesThreaded = 0; |